Compare commits

...

3 Commits

Author SHA1 Message Date
e514d9995f
fish: root prompt with # 2023-04-30 20:20:26 -04:00
39c260a4ac
nvim: disable vimtex
i don't use latex anymore
2023-04-30 20:00:33 -04:00
05a30843ce
nvim: add ripgrep support 2023-04-30 19:56:46 -04:00
4 changed files with 25 additions and 4 deletions

View File

@ -35,3 +35,4 @@ bear
xsel
xwallpaper
xss-lock
ripgrep

View File

@ -1,3 +1,7 @@
if test -n "$SYSTEM_PROFILE"
set -gx SYSTEM_PROFILE slim
end
source ~/.config/fish/aliases.fish
# Set GPG_TTY

View File

@ -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

View File

@ -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"