Browse Source

Add faster scroll in vim

coc
Schneider 7 years ago
parent
commit
fb48f9d290
  1. 1
      vim/ftplugin/javascript.vim
  2. 5
      vimrc.symlink

1
vim/ftplugin/javascript.vim

@ -13,4 +13,3 @@ set wildignore+=node_modules
set tabstop=2
set shiftwidth=2

5
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 <C-e> 3<C-e>
nnoremap <C-y> 3<C-y>
" Uncomment the following to have Vim jump to the last position when
" reopening a file
if has("autocmd")

Loading…
Cancel
Save