speedie-nvim | Add new config
This commit is contained in:
parent
a95b216f59
commit
7809f0c810
0
.config/nvim/coc-settings.json
Normal file
0
.config/nvim/coc-settings.json
Normal file
|
@ -1,4 +1,4 @@
|
|||
" speedie's neovim configuration file
|
||||
" speedie's neovim configura
|
||||
|
||||
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.config/nvim/vimdata'
|
||||
if empty(glob(data_dir . '/autoload/plug.vim'))
|
||||
|
@ -33,6 +33,7 @@ Plug 'mattn/emmet-vim'
|
|||
Plug 'airblade/vim-gitgutter'
|
||||
Plug 'ctrlpvim/ctrlp.vim'
|
||||
Plug 'rainbowhxch/accelerated-jk.nvim'
|
||||
Plug 'jreybert/vimagit'
|
||||
Plug 'autozimu/LanguageClient-neovim', {
|
||||
\ 'branch': 'next',
|
||||
\ 'do': 'bash install.sh',
|
||||
|
@ -66,6 +67,8 @@ filetype plugin indent on
|
|||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
colorscheme wal
|
||||
|
||||
" Mappings
|
||||
map ZX :w<cr>
|
||||
map L 20l
|
||||
map H 20h
|
||||
|
@ -76,6 +79,13 @@ map T :%norm I<tab><cr>
|
|||
map W :!make<cr>
|
||||
map Q :!gcc % -o %\.out<cr>
|
||||
|
||||
nnoremap ciq ci"
|
||||
nnoremap diq di"
|
||||
nnoremap yiq yi"
|
||||
nnoremap cip ci)
|
||||
nnoremap dip di)
|
||||
nnoremap yip yi)
|
||||
|
||||
vmap c :%norm $
|
||||
vmap C :%norm I
|
||||
|
||||
|
@ -83,9 +93,11 @@ nnoremap <C-t> :term<cr>
|
|||
nnoremap <C-f> :NERDTreeFind<cr>
|
||||
nnoremap <C-z> :NERDTreeToggle<cr>
|
||||
nnoremap <C-N> :bnext<cr>
|
||||
nnoremap <C-P> :bprevious<cr>
|
||||
nnoremap <C-A> :badd New file<cr>
|
||||
nnoremap <C-X> :bdelete!<cr>
|
||||
nnoremap <C-s> :split<cr>
|
||||
nnoremap <C-w> :vsplit<cr>
|
||||
nnoremap <C-q> :only<cr>
|
||||
nnoremap <C-F> :CtrlP<cr>
|
||||
|
||||
|
@ -141,9 +153,11 @@ let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclu
|
|||
nnoremap d "_d
|
||||
xnoremap d "_d
|
||||
xnoremap p "_dP
|
||||
nnoremap c "_c
|
||||
|
||||
hi CocErrorHighlight gui=undercurl guisp=red
|
||||
hi SpellBad guisp=red gui=undercurl guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE term=underline cterm=undercurl
|
||||
hi SpellCap guisp=yellow gui=undercurl guifg=NONE guibg=NONE ctermfg=NONE ctermbg=NONE term=underline cterm=undercurl
|
||||
|
||||
autocmd FileType scss setl iskeyword+=@-@
|
||||
autocmd BufWritePre * %s/\s\+$//e
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/bin/sh
|
||||
[ "$(whoami)" != "root" ] && printf "Run me as root.\n" && exit 1
|
||||
command -v npm > /dev/null && npm i -g bash-language-server || printf "npm not available, won't install bash-language-server\n"
|
||||
printf "Make sure ccls is installed.\n"
|
||||
|
|
2812
.config/nvim/vimdata/autoload/plug.vim
Normal file
2812
.config/nvim/vimdata/autoload/plug.vim
Normal file
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1 @@
|
|||
Subproject commit cf6dd11baf62fb6ce18308e96c0ab43428b7c686
|
1
.config/nvim/vimdata/plugged/accelerated-jk
Submodule
1
.config/nvim/vimdata/plugged/accelerated-jk
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 156c5158b72059404f6b8aaf15b59f87dd0aaa88
|
1
.config/nvim/vimdata/plugged/accelerated-jk.nvim
Submodule
1
.config/nvim/vimdata/plugged/accelerated-jk.nvim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 38bbbf9258aab876906588ea979901ed3ed569c6
|
1
.config/nvim/vimdata/plugged/c.vim
Submodule
1
.config/nvim/vimdata/plugged/c.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 31c2795c4e605cbdda9b49c502ec4170a77deac2
|
1
.config/nvim/vimdata/plugged/coc.nvim
Submodule
1
.config/nvim/vimdata/plugged/coc.nvim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 6adfb13aa16733aa5ede483f428750ce03954c4d
|
1
.config/nvim/vimdata/plugged/colorizer
Submodule
1
.config/nvim/vimdata/plugged/colorizer
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 72790a003d5a706c287486a1a81e3a6b32158b54
|
1
.config/nvim/vimdata/plugged/ctrlp.vim
Submodule
1
.config/nvim/vimdata/plugged/ctrlp.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 8b4a9523632049b3b373de1233bef346073b8982
|
1
.config/nvim/vimdata/plugged/emmet-vim
Submodule
1
.config/nvim/vimdata/plugged/emmet-vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit def5d57a1ae5afb1b96ebe83c4652d1c03640f4d
|
1
.config/nvim/vimdata/plugged/fzf
Submodule
1
.config/nvim/vimdata/plugged/fzf
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 18e3b38c69da2828efac6adc2ea3a5e85f70e571
|
|
@ -0,0 +1 @@
|
|||
Subproject commit e8bd50153b94cc5bbfe3f59fc10ec7c4902dd526
|
1
.config/nvim/vimdata/plugged/mason.nvim
Submodule
1
.config/nvim/vimdata/plugged/mason.nvim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit e8bf53119572622f9c45c82f4ef9443a4d37df4b
|
1
.config/nvim/vimdata/plugged/nerdtree
Submodule
1
.config/nvim/vimdata/plugged/nerdtree
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit fc85a6f07c2cd694be93496ffad75be126240068
|
1
.config/nvim/vimdata/plugged/nerdtree-git-plugin
Submodule
1
.config/nvim/vimdata/plugged/nerdtree-git-plugin
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit e1fe727127a813095854a5b063c15e955a77eafb
|
1
.config/nvim/vimdata/plugged/nvim-lspconfig
Submodule
1
.config/nvim/vimdata/plugged/nvim-lspconfig
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 3bb0c53b1df74d4b3b70d5939a015b19064a5a06
|
1
.config/nvim/vimdata/plugged/supertab
Submodule
1
.config/nvim/vimdata/plugged/supertab
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit f0093ae12a9115498f887199809a6114659fc858
|
1
.config/nvim/vimdata/plugged/vifm.vim
Submodule
1
.config/nvim/vimdata/plugged/vifm.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 0a547a2e4c80e78f2f1a002851802ab2a2bfa3c6
|
1
.config/nvim/vimdata/plugged/vim-airline
Submodule
1
.config/nvim/vimdata/plugged/vim-airline
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 5f5e00faad728f12f9ca9d9200208d8a39fd60f4
|
1
.config/nvim/vimdata/plugged/vim-devicons
Submodule
1
.config/nvim/vimdata/plugged/vim-devicons
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 71f239af28b7214eebb60d4ea5bd040291fb7e33
|
1
.config/nvim/vimdata/plugged/vim-fswitch
Submodule
1
.config/nvim/vimdata/plugged/vim-fswitch
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 94acdd8bc92458d3bf7e6557df8d93b533564491
|
1
.config/nvim/vimdata/plugged/vim-gitgutter
Submodule
1
.config/nvim/vimdata/plugged/vim-gitgutter
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 400a12081f188f3fb639f8f962456764f39c6ff1
|
1
.config/nvim/vimdata/plugged/vim-simple-align
Submodule
1
.config/nvim/vimdata/plugged/vim-simple-align
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 56f1900bddef1976f1d970e183b1790de597128e
|
1
.config/nvim/vimdata/plugged/vim-startify
Submodule
1
.config/nvim/vimdata/plugged/vim-startify
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 81e36c352a8deea54df5ec1e2f4348685569bed2
|
1
.config/nvim/vimdata/plugged/vimagit
Submodule
1
.config/nvim/vimdata/plugged/vimagit
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 308650ddc1e9a94e49fae0ea04bbc1c45f23d4c4
|
1
.config/nvim/vimdata/plugged/wal.vim
Submodule
1
.config/nvim/vimdata/plugged/wal.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit c72ba0d18946f29aab9c95eb6975d321c68b3681
|
Loading…
Reference in a new issue