Created
October 7, 2015 19:31
-
-
Save Orbots/fdead95886acd595df8c to your computer and use it in GitHub Desktop.
.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
execute pathogen#infect() | |
set ignorecase | |
set smartcase | |
set hlsearch | |
set wildmenu | |
set showcmd | |
set nocompatible | |
syntax on | |
filetype plugin indent on | |
set shiftwidth=2 | |
set softtabstop=2 | |
set expandtab | |
:imap jk <Esc> | |
:imap jj <Esc> | |
:nmap \o :set paste!<CR> | |
let &t_SI = "\<Esc>]50;CursorShape=1\x7" | |
let &t_EI = "\<Esc>]50;CursorShape=0\x7" | |
let mapleader="," | |
set hidden | |
map <F7> :make<CR> | |
nmap <S-F8> :TagbarToggle<CR> | |
nmap <F8> :TagbarOpen fjc<CR> | |
nnoremap Q <nop> | |
map <C-h> <C-w>h | |
map <C-j> <C-w>j | |
map <C-k> <C-w>k | |
map <C-l> <C-w>l | |
map <Return> o<ESC> | |
map <S-Return> O<ESC> | |
nnoremap <Tab> :bnext<CR> | |
nnoremap <S-Tab> :bprevious<CR> | |
nnoremap <F4> :bnext<CR>:bd#<CR> | |
nnoremap <leader>bd :bnext<CR>:bd#<CR> | |
nmap <Space> i_<Esc>r | |
vmap <C-Space> "ay | |
imap <C-Space> "aP | |
nnoremap <C-Y> i<C-Y><Esc> | |
set wildmode=longest,list,full | |
set wildmenu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment