projects
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add script of wifif config for raspberry pi
[dotfiles.git]
/
vim
/
vimrc
diff --git
a/vim/vimrc
b/vim/vimrc
index
8687824
..
dafbea7
100644
(file)
--- a/
vim/vimrc
+++ b/
vim/vimrc
@@
-84,6
+84,7
@@
set confirm
set nostartofline " don't jump to first character when paging
set wrap
set expandtab
set nostartofline " don't jump to first character when paging
set wrap
set expandtab
+set backspace=indent,eol,start
"set textwidth, formatoptions for chinese
set formatoptions+=m
set colorcolumn=+1
"set textwidth, formatoptions for chinese
set formatoptions+=m
set colorcolumn=+1
@@
-119,6
+120,8
@@
endif
" Mappings ---------------------------------------------------------------- {{{
let mapleader = ";"
map Q gq
" Mappings ---------------------------------------------------------------- {{{
let mapleader = ";"
map Q gq
+nnoremap Q <Nop>
+nnoremap gq <Nop>
" Normal mode ------------------------------------------------------------- {{{
nnoremap Y y$
nnoremap ' `
" Normal mode ------------------------------------------------------------- {{{
nnoremap Y y$
nnoremap ' `
@@
-199,8
+202,9
@@
inoremap <C-U> <C-G>u<C-U>
inoremap <C-a> <Home>
inoremap <C-e> <End>
inoremap <C-D> <Del>
inoremap <C-a> <Home>
inoremap <C-e> <End>
inoremap <C-D> <Del>
-inoremap <C-b> <S-Left>
-inoremap <C-f> <S-Right>
+inoremap <C-b> <Left>
+inoremap <C-f> <Right>
+inoremap <C-/> <Esc>ui
imap <A-d> <S-Right><C-w>
" }}}
" Command mode ------------------------------------------------------- {{{
imap <A-d> <S-Right><C-w>
" }}}
" Command mode ------------------------------------------------------- {{{