Last active
June 21, 2017 15:17
-
-
Save sakakendo/df5877a53ef45a9a85e1a92f85c97def to your computer and use it in GitHub Desktop.
light vimrc for Bash on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Bash on Windows | |
"swap fileを作らない | |
set noswapfiles | |
set nobackup | |
"行数の表示 | |
set number | |
set cursorline | |
set title | |
"search configure | |
set incsearch | |
set ignorecase | |
set smartcase | |
set wrapscan | |
set hlsearch | |
"<ESC>二回ででハイライトをOFFにする | |
nmap <ESC><ESC> :noh<CR> | |
"http://peace-pipe.blogspot.com/2006/05/vimrc-vim.html | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=0 | |
set expandtab | |
nmap <UP> gk | |
nmap <DOWN> gj | |
vmap <UP> gk | |
vmap <DOWN> gj | |
" insert modeの時 jj でinsert modeを抜ける | |
inoremap <silent>jj <Esc> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment