[vim] Use vim-sensible and vim-unimpaired

pull/28/head
Alpha Chen 10 years ago
parent 241f6e04d5
commit ab4aa141f7

6
.gitmodules vendored

@ -106,3 +106,9 @@
[submodule "vim/.vim/bundle/vim-rsi"] [submodule "vim/.vim/bundle/vim-rsi"]
path = vim/.vim/bundle/vim-rsi path = vim/.vim/bundle/vim-rsi
url = https://github.com/tpope/vim-rsi.git url = https://github.com/tpope/vim-rsi.git
[submodule "vim/.vim/bundle/vim-sensible"]
path = vim/.vim/bundle/vim-sensible
url = https://github.com/tpope/vim-sensible.git
[submodule "vim/.vim/bundle/vim-unimpaired"]
path = vim/.vim/bundle/vim-unimpaired
url = https://github.com/tpope/vim-unimpaired.git

@ -0,0 +1 @@
Subproject commit 64aa12b07b0be90a8e98bc7be1b5faac4ac873a4

@ -0,0 +1 @@
Subproject commit 073225c993f3a925bf87f9cf28c99fdf7b62d395

@ -11,16 +11,15 @@ if empty($GOPATH)
call add(g:pathogen_disabled, 'go') call add(g:pathogen_disabled, 'go')
endif endif
execute pathogen#infect() execute pathogen#infect()
filetype plugin indent on
""" mappings """ mappings
let mapleader=',' let mapleader=','
" let maplocalleader='\\'
noremap <up> <nop> noremap <up> <nop>
noremap <down> <nop> noremap <down> <nop>
noremap <left> <nop> noremap <left> <nop>
noremap <right> <nop> noremap <right> <nop>
nnoremap ' ` nnoremap ' `
nnoremap ` ' nnoremap ` '
" nnoremap \ , " nnoremap \ ,
@ -79,13 +78,6 @@ set encoding=utf8
set fileencoding=utf8 set fileencoding=utf8
set fileformat=unix set fileformat=unix
" indent/tabbing
" set smartindent
" set expandtab
" set shiftwidth=2
" set softtabstop=2
" set tabstop=2
" reading " reading
set linebreak set linebreak
" set ttyfast " set ttyfast

Loading…
Cancel
Save