Compare commits
3 Commits
7df97df090
...
e514d9995f
Author | SHA1 | Date | |
---|---|---|---|
e514d9995f | |||
39c260a4ac | |||
05a30843ce |
1
programs
1
programs
@ -35,3 +35,4 @@ bear
|
|||||||
xsel
|
xsel
|
||||||
xwallpaper
|
xwallpaper
|
||||||
xss-lock
|
xss-lock
|
||||||
|
ripgrep
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
if test -n "$SYSTEM_PROFILE"
|
||||||
|
set -gx SYSTEM_PROFILE slim
|
||||||
|
end
|
||||||
|
|
||||||
source ~/.config/fish/aliases.fish
|
source ~/.config/fish/aliases.fish
|
||||||
|
|
||||||
# Set GPG_TTY
|
# Set GPG_TTY
|
||||||
|
@ -41,5 +41,10 @@ function fish_right_prompt
|
|||||||
(set_color normal)
|
(set_color normal)
|
||||||
end
|
end
|
||||||
function fish_prompt
|
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
|
end
|
||||||
|
@ -169,7 +169,8 @@ call plug#begin()
|
|||||||
|
|
||||||
filetype plugin indent on
|
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'
|
Plug 'lervag/vimtex'
|
||||||
let g:vimtex_view_method = 'zathura'
|
let g:vimtex_view_method = 'zathura'
|
||||||
let g:vimtex_compiler_method = 'latexmk'
|
let g:vimtex_compiler_method = 'latexmk'
|
||||||
@ -220,14 +221,24 @@ if $SYSTEM_PROFILE == "DEFAULT"
|
|||||||
set foldmethod=expr
|
set foldmethod=expr
|
||||||
set foldexpr=nvim_treesitter#foldexpr()
|
set foldexpr=nvim_treesitter#foldexpr()
|
||||||
"autocmd BufEnter * normal zR
|
"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
|
endif
|
||||||
|
|
||||||
Plug 'axieax/urlview.nvim'
|
Plug 'axieax/urlview.nvim'
|
||||||
|
|
||||||
Plug 'ggandor/leap.nvim'
|
Plug 'ggandor/leap.nvim'
|
||||||
|
|
||||||
Plug 'kaarmu/typst.vim'
|
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
if $SYSTEM_PROFILE == "DEFAULT"
|
if $SYSTEM_PROFILE == "DEFAULT"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user