dotfiles/.vimrc.plugins-settings

55 lines
1.3 KiB
Text
Raw Normal View History

2019-02-22 15:50:11 +00:00
" plugins: airline
let g:bufferline_echo = 0
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
2022-10-15 09:39:12 +01:00
let g:airline#extensions#coc#enabled = 1
2019-02-22 15:50:11 +00:00
2019-07-07 12:08:00 +01:00
au BufWrite * :Autoformat
2022-03-08 09:56:54 +00:00
" let g:autoformat_verbosemode=1
2019-07-07 12:08:00 +01:00
2019-02-22 15:50:11 +00:00
" searching
2021-06-12 09:40:09 +01:00
let $FZF_DEFAULT_COMMAND = 'rga --files --no-messages "" .'
set grepprg=rga\ --vimgrep
2019-02-22 15:50:11 +00:00
let g:fzf_command_prefix = 'Fzf'
2021-06-12 09:40:09 +01:00
command! -bang -nargs=* Find call fzf#vim#grep('rga --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape(<q-args>), 1, <bang>0)
2019-02-22 16:08:40 +00:00
let g:ctrlp_show_hidden = 1
2021-06-12 09:40:09 +01:00
let g:ctrlp_user_command = 'rga %s --files --hidden --color=never --glob ""'
2019-02-22 15:50:11 +00:00
2020-05-02 10:49:49 +01:00
" rainbow
let g:rainbow_active = 1
2020-05-02 10:05:10 +01:00
" coc
set shortmess+=c
set signcolumn=yes
2020-09-06 00:21:46 +01:00
" ack
2021-09-22 12:49:08 +01:00
let g:ackprg = 'rg --vimgrep --smart-case'
2020-09-06 00:21:46 +01:00
let g:ack_autoclose = 1
let g:ack_use_cword_for_empty_search = 1
2022-03-08 11:53:17 +00:00
lua << EOF
2023-06-21 08:54:06 +01:00
-- disable netrw at the very start of your init.lua
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
-- set termguicolors to enable highlight groups
vim.opt.termguicolors = true
-- OR setup with some options
require("nvim-tree").setup({
sort_by = "case_sensitive",
view = {
width = 30,
},
renderer = {
group_empty = true,
},
filters = {
dotfiles = true,
},
})
2022-03-08 11:53:17 +00:00
EOF