Merge branch 'master' of git.maggioni.xyz:maggicl/nvim-config
This commit is contained in:
commit
6a66e93ad8
3 changed files with 12 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -28,6 +28,9 @@
|
||||||
[submodule "pack/plugins/start/vim-grepper"]
|
[submodule "pack/plugins/start/vim-grepper"]
|
||||||
path = pack/plugins/start/vim-grepper
|
path = pack/plugins/start/vim-grepper
|
||||||
url = https://github.com/mhinz/vim-grepper.git
|
url = https://github.com/mhinz/vim-grepper.git
|
||||||
|
[submodule "pack/plugins/start/gitignore.vim"]
|
||||||
|
path = pack/plugins/start/gitignore.vim
|
||||||
|
url = https://github.com/euclio/gitignore.vim
|
||||||
[submodule "pack/plugins/start/vim-go"]
|
[submodule "pack/plugins/start/vim-go"]
|
||||||
path = pack/plugins/start/vim-go
|
path = pack/plugins/start/vim-go
|
||||||
url = https://github.com/fatih/vim-go.git
|
url = https://github.com/fatih/vim-go.git
|
||||||
|
|
8
init.vim
8
init.vim
|
@ -42,8 +42,14 @@ let g:netrw_liststyle = 3
|
||||||
" remove netrw top banner
|
" remove netrw top banner
|
||||||
let g:netrw_banner = 0
|
let g:netrw_banner = 0
|
||||||
|
|
||||||
|
let g:netrw_list_hide = netrw_gitignore#Hide()
|
||||||
|
|
||||||
" ADDITIONAL COMMANDS
|
" ADDITIONAL COMMANDS
|
||||||
|
|
||||||
|
" emulate system clipboard
|
||||||
|
inoremap <C-v> <ESC>"+pa
|
||||||
|
vnoremap <C-c> "+y
|
||||||
|
|
||||||
inoremap <S-tab> <C-d>
|
inoremap <S-tab> <C-d>
|
||||||
|
|
||||||
" make escape work in terminal and send ESC to terminal with C-Esc
|
" make escape work in terminal and send ESC to terminal with C-Esc
|
||||||
|
@ -101,6 +107,8 @@ nnoremap <Leader>d :bp\|bd #<CR>
|
||||||
nnoremap <Leader>t :tabnext<CR>
|
nnoremap <Leader>t :tabnext<CR>
|
||||||
tnoremap <C-e> <C-\><C-n>:tabnext<CR>
|
tnoremap <C-e> <C-\><C-n>:tabnext<CR>
|
||||||
|
|
||||||
|
nnoremap <unique> <Leader>I <Plug>WildignoreFromGitignore
|
||||||
|
|
||||||
" clear trailing spaces in file
|
" clear trailing spaces in file
|
||||||
function! g:ClearTrailingSpaces()
|
function! g:ClearTrailingSpaces()
|
||||||
silent! %s/\s *$//g
|
silent! %s/\s *$//g
|
||||||
|
|
1
pack/plugins/start/gitignore.vim
Submodule
1
pack/plugins/start/gitignore.vim
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 9c5d51b86bba0d3e70fa5d9ebd7c928bcdd22519
|
Reference in a new issue