Created
November 24, 2017 20:32
-
-
Save johanek/bc78ea20a9a5c637657674b52afb249d to your computer and use it in GitHub Desktop.
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
set modeline | |
set modelines=1 | |
set autoindent | |
set softtabstop=2 | |
set tabstop=2 | |
set shiftwidth=2 | |
set paste | |
set expandtab | |
set showmatch | |
set ruler | |
syntax enable | |
nmap <C-N> <C-N> :set invnumber <CR> | |
set laststatus=2 | |
set number | |
"utility prefixes - backslash <whatever> | |
:nmap \l :setlocal number!<CR> | |
:nmap \o :set paste!<CR> | |
"move rowsize, rather than linewise | |
:nmap j gj | |
:nmap k gk | |
"emacs style movement | |
:cnoremap <C-a> <Home> | |
:cnoremap <C-b> <Left> | |
:cnoremap <C-f> <Right> | |
:cnoremap <C-d> <Delete> | |
:cnoremap <M-b> <S-Left> | |
:cnoremap <M-f> <S-Right> | |
:cnoremap <M-d> <S-right><Delete> | |
:cnoremap <Esc>b <S-Left> | |
:cnoremap <Esc>f <S-Right> | |
:cnoremap <Esc>d <S-right><Delete> | |
:cnoremap <C-g> <C-c> | |
"searching | |
:set incsearch | |
:set ignorecase | |
:set smartcase | |
:set hlsearch | |
:nmap \q :nohlsearch<CR> | |
"whitespace | |
:set list | |
:set listchars=tab:>-,trail:~,extends:>,precedes:< | |
"powerline | |
set rtp+=/usr/local/lib/python2.7/site-packages//powerline/bindings/vim | |
"pathogen module managemnt | |
execute pathogen#infect() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment