diff --git a/vim/ftplugin/javascript.vim b/vim/ftplugin/javascript.vim index 3805b09..52a9b52 100644 --- a/vim/ftplugin/javascript.vim +++ b/vim/ftplugin/javascript.vim @@ -13,4 +13,3 @@ set wildignore+=node_modules set tabstop=2 set shiftwidth=2 - diff --git a/vimrc.symlink b/vimrc.symlink index d970ba8..2a81f5d 100644 --- a/vimrc.symlink +++ b/vimrc.symlink @@ -50,7 +50,6 @@ Plug 'ternjs/tern_for_vim', { 'for':[ 'javascript', 'vue' ], 'do': 'npm install Plug 'https://github.com/othree/jspc.vim', { 'for': [ 'javascript', 'vue' ]} " Function parameter completion Plug 'heavenshell/vim-jsdoc', { 'for': [ 'javascript', 'vue' ]} " Generate JSDoc comments Plug 'posva/vim-vue', { 'for': [ 'javascript', 'html', 'vue' ] } " vue.js integration -"Plug 'posva/vim-vue' " Go Plug 'fatih/vim-go', { 'for': [ 'go', 'html', 'gohtmltmpl' ], 'do': ':GoInstallBinaries' } " go support @@ -128,6 +127,10 @@ set shell=$SHELL set cmdheight=1 " command bar height set title " set terminal title +" scroll the viewport faster +nnoremap 3 +nnoremap 3 + " Uncomment the following to have Vim jump to the last position when " reopening a file if has("autocmd")