Created
May 21, 2019 19:46
-
-
Save stett/d2ec19773577f0ff96e7617e0927e1f0 to your computer and use it in GitHub Desktop.
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
set nocompatible | |
syntax on | |
"filetype off | |
""" Bundles | |
set rtp+=~/.vim/bundle/vundle | |
call vundle#rc() | |
Bundle 'groenewege/vim-less' | |
Bundle 'skammer/vim-css-color' | |
Bundle 'hail2u/vim-css3-syntax' | |
Bundle 'pangloss/vim-javascript' | |
Bundle 'fholgado/minibufexpl.vim' | |
Bundle 'jashkenas/coffee-script-tmbundle' | |
Bundle 'othree/html5.vim' | |
Bundle 'yodiaditya/vim-pydjango' | |
Bundle 'scrooloose/syntastic' | |
filetype plugin indent on | |
"colorscheme stettjawa | |
"colorscheme mustang | |
set ttymouse=xterm2 | |
set mouse=a | |
set listchars=trail:~,tab:+- | |
set tabstop=4 | |
set expandtab | |
set shiftwidth=4 | |
set autoindent | |
set smartindent | |
set number | |
set showcmd | |
set showmatch | |
set history=200 | |
set undolevels=200 | |
set backspace=2 | |
set pastetoggle=<F12> | |
set hidden | |
set ignorecase | |
set incsearch | |
set hlsearch | |
set noswapfile | |
"autocmd VimEnter * MiniBufExplorer | |
"let g:miniBufExplMapWindowNavVim = 1 | |
"let g:miniBufExplMapWindowNavArrows = 1 | |
"let g:miniBufExplMapCTabSwitchBufs = 1 | |
"let g:miniBufExplModSelTarget = 1 | |
""" | |
""" Plugin settings | |
""" | |
"call pathogen#infect() | |
let g:cssColorVimDoNotMessMyUpdatetime = 1 | |
""" | |
""" Keyboard remappings | |
""" | |
""" IJKL navigation keys | |
no j h | |
no i gk | |
no k gj | |
no I { | |
no K } | |
no <c-i> <c-u> | |
no <c-k> <c-d> | |
no <c-j> b | |
no <c-l> w | |
no J ^ | |
no L $ | |
""" Insert mode | |
no H I | |
no h i | |
vno H I | |
vno h i | |
""" Window navigation | |
no <space> <c-w> | |
no <space>j <c-w><c-h> | |
no <space>u <c-w><c-k> | |
no <space>k <c-w><c-i> | |
no <space>l <c-w><c-l> | |
""" Join lines | |
no - J | |
""" File-type/syntax relations | |
filetype on | |
au BufNewFile,BufRead *.html set filetype=htmldjango | |
au BufNewFile,BufRead *.less set filetype=less | |
""" Syntax checking | |
let g:syntastic_python_checkers = ['flake8'] | |
""" delete without yanking | |
nnoremap <leader>d "_d | |
vnoremap <leader>d "_d | |
""" replace currently selected text with default register without yanking it | |
vnoremap <leader>p "_dP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment