Add coc-settings.json; better nvim and sway
This commit is contained in:
parent
ab0645485c
commit
3c8bca139e
6
coc-settings.json
Normal file
6
coc-settings.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"clangd.arguments": [
|
||||
"--header-insertion=never"
|
||||
]
|
||||
}
|
||||
|
4
init.vim
4
init.vim
|
@ -26,7 +26,7 @@ Plug 'https://github.com/tpope/vim-commentary'
|
|||
Plug 'https://github.com/lifepillar/pgsql.vim' " PSQL Pluging needs :SQLSetType pgsql.vim
|
||||
Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview
|
||||
Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme
|
||||
Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'} " Auto Completion
|
||||
Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons
|
||||
Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal
|
||||
Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors
|
||||
|
@ -39,7 +39,7 @@ call plug#end()
|
|||
autocmd bufenter * if (winnr("$") == 2 && IsNerdTreeEnabled() && g:terminal_id != -1) | qa | endif
|
||||
|
||||
" If there is only NerdTree
|
||||
autocmd bufenter * if (winnr("$") == 1 && IsNerdTreeEnabled()) | q | endif
|
||||
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
||||
|
||||
" Terminal
|
||||
function! ToggleTerminal()
|
||||
|
|
|
@ -7,3 +7,4 @@ cp -v bashrc ~/.bashrc
|
|||
cp -v ssh-config ~/.ssh/config
|
||||
cp -v init.vim ~/.config/nvim/init.vim
|
||||
cp -v foot.ini ~/.config/foot/foot.ini
|
||||
cp -v coc-settings.json ~/.config/nvim/coc-settings.json
|
||||
|
|
|
@ -233,7 +233,7 @@ bar {
|
|||
}
|
||||
|
||||
#Screenshots
|
||||
bindsym $mod+i exec grim -g "$(slurp)" ~/screenshots/"$(date +%Y-%m-%d_%H-%m-%s).png"
|
||||
bindsym $mod+i exec grim -g "$(slurp)" ~/image/screenshots/"$(date +%Y-%m-%d_%H-%m-%s).png"
|
||||
bindsym $mod+Shift+i exec grim -g "$(slurp)" - | wl-copy
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
|
Loading…
Reference in a new issue