Add more neovim plugins

This commit is contained in:
Mikkel Svartveit 2023-03-13 09:08:35 +01:00
parent 3b5e5527d6
commit e470180801
3 changed files with 17 additions and 10 deletions

View file

@ -114,6 +114,13 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'}
" Syntax highlighting for almost every language " Syntax highlighting for almost every language
Plug 'sheerun/vim-polyglot' Plug 'sheerun/vim-polyglot'
" Add two-character motions with s and S
Plug 'ggandor/leap.nvim'
Plug 'tpope/vim-repeat'
" VSCode-like multi-cursor support
Plug 'mg979/vim-visual-multi', {'branch': 'master'}
" Easy commenting/uncommenting " Easy commenting/uncommenting
Plug 'numToStr/Comment.nvim' Plug 'numToStr/Comment.nvim'
@ -188,6 +195,9 @@ let g:vim_svelte_plugin_load_full_syntax = 1
let g:vim_svelte_plugin_use_typescript = 1 let g:vim_svelte_plugin_use_typescript = 1
let g:vim_svelte_plugin_use_sass = 1 let g:vim_svelte_plugin_use_sass = 1
" Configure leap
lua require('leap').add_default_mappings()
" Configure Comment.nvim " Configure Comment.nvim
lua require('Comment').setup() lua require('Comment').setup()

View file

@ -65,6 +65,10 @@ autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
" Fetch plugins with Plug " Fetch plugins with Plug
call plug#begin() call plug#begin()
" Add two-character motions with s and S
Plug 'ggandor/leap.nvim'
Plug 'tpope/vim-repeat'
" Easy commenting/uncommenting " Easy commenting/uncommenting
Plug 'numToStr/Comment.nvim' Plug 'numToStr/Comment.nvim'
@ -74,5 +78,8 @@ Plug 'tpope/vim-surround'
" End of plugin fetching " End of plugin fetching
call plug#end() call plug#end()
" Configure leap
lua require('leap').add_default_mappings()
" Configure Comment.nvim " Configure Comment.nvim
lua require('Comment').setup() lua require('Comment').setup()

View file

@ -4,16 +4,6 @@
<dict> <dict>
<key>AllowClipboardAccess</key> <key>AllowClipboardAccess</key>
<false/> <false/>
<key>AppleAntiAliasingThreshold</key>
<integer>1</integer>
<key>ApplePressAndHoldEnabled</key>
<false/>
<key>AppleScrollAnimationEnabled</key>
<integer>0</integer>
<key>AppleSmoothFixedFontsSizeThreshold</key>
<integer>1</integer>
<key>AppleWindowTabbingMode</key>
<string>manual</string>
<key>Command</key> <key>Command</key>
<string></string> <string></string>
<key>CopySelection</key> <key>CopySelection</key>