Last active
January 1, 2016 14:29
-
-
Save hideshi/8158469 to your computer and use it in GitHub Desktop.
My .vimrc
This file contains hidden or 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
"This sets plugins directory. | |
set runtimepath+=~/.vim/vimdoc-ja | |
"This sets default help languages. | |
set helplang=ja,en | |
"This enables you to use syntax highlight. | |
syntax on | |
"This enables you to use pliugins. | |
filetype plugin on | |
"This enables you to display line numbers. | |
set number | |
"This sets tab size. | |
set tabstop=4 | |
"This sets tab size to shift tab using > or < keys in visual mode. | |
set shiftwidth=4 | |
"This replaces tab with whitespace when you press the tab key. | |
set expandtab | |
"This sets tab size when you delete tab using BS key. | |
set softtabstop=4 | |
"This enables you to autoindent when you press the enter key to create a new line. | |
set autoindent | |
"This keeps selecting lines when you press > or < keys in visual mode. | |
vnoremap > >gv | |
vnoremap < <gv | |
"For gist-vim. | |
let g:github_user = 'XXXX' | |
let g:github_token = 'XXXX' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment