diff options
| -rw-r--r-- | after/plugin/vim-go.vim | 2 | ||||
| -rw-r--r-- | after/plugin/vimwiki.vim | 2 | ||||
| -rw-r--r-- | init-old.vim | 11 | ||||
| -rw-r--r-- | plugin/packer_compiled.lua | 2 | ||||
| -rw-r--r-- | plugin/styles.vim | 2 |
5 files changed, 7 insertions, 12 deletions
diff --git a/after/plugin/vim-go.vim b/after/plugin/vim-go.vim new file mode 100644 index 0000000..9439cd2 --- /dev/null +++ b/after/plugin/vim-go.vim @@ -0,0 +1,2 @@ +" disable vim-go K binding +let g:go_doc_keywordprg_enabled = 0 diff --git a/after/plugin/vimwiki.vim b/after/plugin/vimwiki.vim new file mode 100644 index 0000000..50b7010 --- /dev/null +++ b/after/plugin/vimwiki.vim @@ -0,0 +1,2 @@ +let g:vimwiki_list = [{'path': '~/vimwiki/', + \ 'syntax': 'markdown', 'ext': '.md'}] diff --git a/init-old.vim b/init-old.vim index fcbaeab..3fcdf88 100644 --- a/init-old.vim +++ b/init-old.vim @@ -9,16 +9,8 @@ inoremap <C-c> <esc> nnoremap <Leader><CR> :so ~/.config/nvim/init.vim<CR> -let g:vimwiki_list = [{'path': '~/vimwiki/', - \ 'syntax': 'markdown', 'ext': '.md'}] - -let g:gitgutter_map_keys = 0 - " forward and backward search of current word -" remove whitespaces -autocmd BufWritePre * :%s/\s\+$//e - " format json files autocmd BufWritePre *stubs/**/*.json :%!jq @@ -35,9 +27,6 @@ autocmd FileType cucumber setlocal ts=2 sts=2 sw=2 expandtab autocmd BufWritePost */alpha/**.lua lua require('plenary.reload').reload_module('alpha') -" disable vim-go K binding -let g:go_doc_keywordprg_enabled = 0 - lua require("alpha") " quick duplication of files diff --git a/plugin/packer_compiled.lua b/plugin/packer_compiled.lua index 9a0a135..9958be2 100644 --- a/plugin/packer_compiled.lua +++ b/plugin/packer_compiled.lua @@ -371,8 +371,8 @@ time([[Defining packer_plugins]], false) -- Command lazy-loads time([[Defining lazy-load commands]], true) -pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Http lua require("packer.load")({'vim-http'}, { cmd = "Http", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file VimwikiIndex lua require("packer.load")({'vimwiki'}, { cmd = "VimwikiIndex", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]]) +pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Http lua require("packer.load")({'vim-http'}, { cmd = "Http", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args>, mods = "<mods>" }, _G.packer_plugins)]]) time([[Defining lazy-load commands]], false) if should_profile then save_profiles() end diff --git a/plugin/styles.vim b/plugin/styles.vim new file mode 100644 index 0000000..c7482e8 --- /dev/null +++ b/plugin/styles.vim @@ -0,0 +1,2 @@ +" remove whitespaces +autocmd BufWritePre * :%s/\s\+$//e |