From 4b66dc879624e5b6df60ed75f28716d9f7e76f8b Mon Sep 17 00:00:00 2001 From: "Claudio Maggioni (maggicl)" Date: Sat, 2 Feb 2019 23:25:50 +0100 Subject: [PATCH 1/3] Added system clipboard keybindings --- init.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.vim b/init.vim index 7ec8c70..be83723 100644 --- a/init.vim +++ b/init.vim @@ -32,6 +32,10 @@ set wildignore+=**/node_modules/** " ADDITIONAL COMMANDS +" emulate system clipboard +inoremap "+pa +vnoremap "+y + inoremap " make escape work in terminal and send ESC to terminal with C-Esc From d9db1606fe84a6507f120bda3b79d83a6473f22c Mon Sep 17 00:00:00 2001 From: "Claudio Maggioni (maggicl)" Date: Sat, 2 Feb 2019 23:28:20 +0100 Subject: [PATCH 2/3] Updated plugins --- pack/plugins/opt/onedark.vim | 2 +- pack/plugins/start/i3config.vim | 2 +- pack/plugins/start/tsuquyomi | 2 +- pack/plugins/start/vim-airline | 2 +- pack/plugins/start/vim-grepper | 2 +- pack/plugins/start/vim-racket | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pack/plugins/opt/onedark.vim b/pack/plugins/opt/onedark.vim index 77c7b00..2e817f0 160000 --- a/pack/plugins/opt/onedark.vim +++ b/pack/plugins/opt/onedark.vim @@ -1 +1 @@ -Subproject commit 77c7b00eb15d9b886e19d491cb44a96284cf0466 +Subproject commit 2e817f0dde2c46dc2a61cec4e86dad65f674a630 diff --git a/pack/plugins/start/i3config.vim b/pack/plugins/start/i3config.vim index c68bbb5..07fe8cd 160000 --- a/pack/plugins/start/i3config.vim +++ b/pack/plugins/start/i3config.vim @@ -1 +1 @@ -Subproject commit c68bbb54d97ab8cea46b866e86a584f4d7a9db4a +Subproject commit 07fe8cdbcac971238c9d33de73e1cd1a1fa7d7b7 diff --git a/pack/plugins/start/tsuquyomi b/pack/plugins/start/tsuquyomi index fd47e1a..db073bb 160000 --- a/pack/plugins/start/tsuquyomi +++ b/pack/plugins/start/tsuquyomi @@ -1 +1 @@ -Subproject commit fd47e1ac75ee3a09e13a3b7a8f609907c2b6b542 +Subproject commit db073bb2dc872d29e26da355b5f49269aab6b0d0 diff --git a/pack/plugins/start/vim-airline b/pack/plugins/start/vim-airline index 72888d8..916d023 160000 --- a/pack/plugins/start/vim-airline +++ b/pack/plugins/start/vim-airline @@ -1 +1 @@ -Subproject commit 72888d87ea57761f21c9f67cd0c0faa5904795eb +Subproject commit 916d023c35f3aa7fd928e18aa06b01fcfc7bb50e diff --git a/pack/plugins/start/vim-grepper b/pack/plugins/start/vim-grepper index 9b62e6b..32c002c 160000 --- a/pack/plugins/start/vim-grepper +++ b/pack/plugins/start/vim-grepper @@ -1 +1 @@ -Subproject commit 9b62e6bdd9de9fe027363bbde68e9e32d937cfa0 +Subproject commit 32c002c239d1838636bd3787012dc319dc4c96ee diff --git a/pack/plugins/start/vim-racket b/pack/plugins/start/vim-racket index 164d937..490e6a7 160000 --- a/pack/plugins/start/vim-racket +++ b/pack/plugins/start/vim-racket @@ -1 +1 @@ -Subproject commit 164d93736d5cee79c77d4a8a3f722ef31d8d2f4c +Subproject commit 490e6a7896ba31afad0cf8eaa53ea84eb25eaaa2 From a5985f47eed4e56db4af20605f5917ba666b3d12 Mon Sep 17 00:00:00 2001 From: Claudio Maggioni Date: Tue, 5 Feb 2019 14:54:59 +0100 Subject: [PATCH 3/3] Small improvements --- .gitmodules | 3 +++ init.vim | 6 +++++- pack/plugins/start/gitignore.vim | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) create mode 160000 pack/plugins/start/gitignore.vim diff --git a/.gitmodules b/.gitmodules index 9c1213a..4963f19 100644 --- a/.gitmodules +++ b/.gitmodules @@ -28,3 +28,6 @@ [submodule "pack/plugins/start/vim-grepper"] path = pack/plugins/start/vim-grepper 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 diff --git a/init.vim b/init.vim index 6cfc715..283f278 100644 --- a/init.vim +++ b/init.vim @@ -30,6 +30,8 @@ set autoindent set path+=** set wildignore+=**/node_modules/** +let g:netrw_list_hide = netrw_gitignore#Hide() + " ADDITIONAL COMMANDS inoremap @@ -89,6 +91,8 @@ nnoremap d :bp\|bd # nnoremap t :tabnext tnoremap :tabnext +nnoremap I WildignoreFromGitignore + " clear trailing spaces in file function! g:ClearTrailingSpaces() silent! %s/\s *$//g @@ -96,7 +100,7 @@ function! g:ClearTrailingSpaces() endfunction " remove trailing spaces with: Leader t s -nnoremap ts :call ClearTrailingSpaces() +nnoremap s :call ClearTrailingSpaces() " automatically remove trailing spaces when saving a file autocmd BufWrite * call ClearTrailingSpaces() diff --git a/pack/plugins/start/gitignore.vim b/pack/plugins/start/gitignore.vim new file mode 160000 index 0000000..9c5d51b --- /dev/null +++ b/pack/plugins/start/gitignore.vim @@ -0,0 +1 @@ +Subproject commit 9c5d51b86bba0d3e70fa5d9ebd7c928bcdd22519