Compare commits
3 Commits
7df97df090
...
e514d9995f
Author | SHA1 | Date | |
---|---|---|---|
e514d9995f | |||
39c260a4ac | |||
05a30843ce |
@ -1,3 +1,7 @@
|
||||
if test -n "$SYSTEM_PROFILE"
|
||||
set -gx SYSTEM_PROFILE slim
|
||||
end
|
||||
|
||||
source ~/.config/fish/aliases.fish
|
||||
|
||||
# Set GPG_TTY
|
||||
|
@ -41,5 +41,10 @@ function fish_right_prompt
|
||||
(set_color normal)
|
||||
end
|
||||
function fish_prompt
|
||||
printf '%s%s%s> ' (set_color $fish_color_cwd) (prompt_pwd) (set_color normal)
|
||||
if true
|
||||
set letter '#'
|
||||
else
|
||||
set letter '>'
|
||||
end
|
||||
printf '%s%s%s%s ' (set_color $fish_color_cwd) (prompt_pwd) (set_color normal) $letter
|
||||
end
|
||||
|
@ -169,7 +169,8 @@ call plug#begin()
|
||||
|
||||
filetype plugin indent on
|
||||
|
||||
if $SYSTEM_PROFILE == "DEFAULT"
|
||||
" i don't use LaTeX anymore, but you can comment out && 0 to
|
||||
if $SYSTEM_PROFILE == "DEFAULT" && 0
|
||||
Plug 'lervag/vimtex'
|
||||
let g:vimtex_view_method = 'zathura'
|
||||
let g:vimtex_compiler_method = 'latexmk'
|
||||
@ -220,14 +221,24 @@ if $SYSTEM_PROFILE == "DEFAULT"
|
||||
set foldmethod=expr
|
||||
set foldexpr=nvim_treesitter#foldexpr()
|
||||
"autocmd BufEnter * normal zR
|
||||
|
||||
" typst filetype support
|
||||
Plug 'kaarmu/typst.vim'
|
||||
|
||||
" project-wide searching
|
||||
Plug 'mileszs/ack.vim'
|
||||
" close quickfix list after pressing enter
|
||||
let g:ack_autoclose = 1
|
||||
" Ack! does not jump to first result
|
||||
nnoremap <Leader>/ :Ack!<Space>
|
||||
" use ripgrep
|
||||
let g:ackprg = 'rg --vimgrep --smart-case'
|
||||
endif
|
||||
|
||||
Plug 'axieax/urlview.nvim'
|
||||
|
||||
Plug 'ggandor/leap.nvim'
|
||||
|
||||
Plug 'kaarmu/typst.vim'
|
||||
|
||||
call plug#end()
|
||||
|
||||
if $SYSTEM_PROFILE == "DEFAULT"
|
||||
|
Loading…
x
Reference in New Issue
Block a user