diff options
| author | jdhao <jdhao@hotmail.com> | 2021-07-24 01:12:18 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-07-24 01:12:18 +0800 |
| commit | 081763697bf939ed2de9405170ca564a6fa1cd5e (patch) | |
| tree | 54f4551b92cead70fdf11ed018d6da4a0e09c973 | |
| parent | 5779c5ef386900785eed98e73a6e0bef12a935b1 (diff) | |
Remove plugin vim-titlecase
I cann't even remember when I used it last time.
| -rw-r--r-- | core/plugins.vim | 8 | ||||
| -rw-r--r-- | lua/plugins.lua | 6 |
2 files changed, 3 insertions, 11 deletions
diff --git a/core/plugins.vim b/core/plugins.vim index 7b71f13..ca9a1bf 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -170,14 +170,6 @@ nnoremap <silent> <Space>t :<C-U>Vista!!<CR> "}} "{{ File editting -""""""""""""""""""""""""""""vim-titlecase settings""""""""""""""""""""""" -" Do not use the default mapping provided -let g:titlecase_map_keys = 0 - -nmap <leader>gt <Plug>Titlecase -xmap <leader>gt <Plug>Titlecase -nmap <leader>gT <Plug>TitlecaseLine - """"""""""""""""""""""""vim-auto-save settings""""""""""""""""""""""" " Enable autosave on nvim startup let g:auto_save = 1 diff --git a/lua/plugins.lua b/lua/plugins.lua index 0b6f544..93feb9f 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -135,9 +135,6 @@ require('packer').startup( -- Multiple cursor plugin like Sublime Text? -- use 'mg979/vim-visual-multi' - -- Title character case - use 'christoomey/vim-titlecase' - -- Autosave files on certain events use '907th/vim-auto-save' @@ -182,6 +179,7 @@ require('packer').startup( -- Git command inside vim use 'tpope/vim-fugitive' + use { 'TimUntersberger/neogit', requires = 'nvim-lua/plenary.nvim' } -- Another markdown plugin use {'plasticboy/vim-markdown', ft = {'markdown', }} @@ -294,3 +292,5 @@ vim.api.nvim_exec([[ autocmd BufWritePost */nvim/lua/plugins.lua source <afile> | PackerCompile augroup END ]], false) + +require('neogit').setup() |
