matchTaf, wordpress.vim plugins added. Better key mappings
This commit is contained in:
parent
152a62585f
commit
aabb2cfd1a
60
vimrc
60
vimrc
|
@ -1,5 +1,6 @@
|
|||
set nocompatible " be iMproved, required
|
||||
filetype off " required
|
||||
set ttyfast
|
||||
|
||||
" set the runtime path to include Vundle and initialize
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
|
@ -97,6 +98,14 @@ Plugin 'gregsexton/MatchTag'
|
|||
" https://github.com/shawncplus/phpcomplete.vim
|
||||
Plugin 'shawncplus/phpcomplete.vim'
|
||||
|
||||
" WordPress.vim
|
||||
" https://github.com/dsawardekar/wordpress.vim
|
||||
" For up to date Wordpress Files see:
|
||||
" https://github.com/joseluis/wordpress.vim-generator
|
||||
Plugin 'dsawardekar/wordpress.vim'
|
||||
|
||||
|
||||
|
||||
" All of your Plugins must be added before the following line
|
||||
call vundle#end() " required
|
||||
filetype plugin indent on " required
|
||||
|
@ -112,6 +121,38 @@ filetype plugin indent on " required
|
|||
" see :h vundle for more details or wiki for FAQ
|
||||
" Put your non-Plugin stuff after this line
|
||||
|
||||
colorscheme customred256
|
||||
|
||||
" ignore case when searching
|
||||
set ignorecase
|
||||
" unless search contains uppercase
|
||||
set smartcase
|
||||
|
||||
set hidden
|
||||
|
||||
set bg=dark
|
||||
" set number
|
||||
set nonumber
|
||||
set autoindent
|
||||
|
||||
" set width of the fold column to create a margin
|
||||
set foldcolumn=2
|
||||
|
||||
" key mappings
|
||||
let mapleader = "\<space>"
|
||||
|
||||
" jk acts as escape in insert,visual/select modes
|
||||
inoremap jk <esc>
|
||||
inoremap <esc> <nop>
|
||||
vnoremap jk <esc>
|
||||
vnoremap <esc> <nop>
|
||||
|
||||
" disable arrow keys
|
||||
noremap <Up> <nop>
|
||||
noremap <Down> <nop>
|
||||
noremap <Left> <nop>
|
||||
noremap <Right> <nop>
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -130,20 +171,12 @@ nnoremap <Esc>k :resize -1<CR>
|
|||
nnoremap <Esc>l :vertical resize +1<CR>
|
||||
nnoremap <Esc>h :vertical resize -1<CR>
|
||||
|
||||
let mapleader = "\<space>"
|
||||
|
||||
set hidden
|
||||
|
||||
set bg=dark
|
||||
" set number
|
||||
set nonumber
|
||||
set autoindent
|
||||
|
||||
" set width of the fold column to create a margin
|
||||
set foldcolumn=2
|
||||
|
||||
" hi FoldColumn ctermfg=255 ctermbg=226
|
||||
colorscheme customred256
|
||||
" abbreviations
|
||||
iabbrev adn and
|
||||
iabbrev waht what
|
||||
iabbrev tehn then
|
||||
|
||||
|
||||
|
||||
|
@ -296,6 +329,9 @@ endfunction
|
|||
"nmap <silent> <C-k> <Plug>(ale_previous_wrap)
|
||||
"nmap <silent> <C-j> <Plug>(ale_next_wrap)
|
||||
|
||||
"wordpress.vim
|
||||
let g:wordpress_vim_wordpress_path = "~/Projects/Wordpress/WordpressSource"
|
||||
|
||||
|
||||
" syntastic
|
||||
|
||||
|
|
Loading…
Reference in New Issue