From aabb2cfd1a36b2a60aeddc853e9ca38bc3cb5a90 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Sun, 17 Sep 2017 23:01:26 +0100 Subject: [PATCH] matchTaf, wordpress.vim plugins added. Better key mappings --- vimrc | 60 +++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 48 insertions(+), 12 deletions(-) diff --git a/vimrc b/vimrc index 3b0289f..ee7ae5e 100644 --- a/vimrc +++ b/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 = "\" + +" jk acts as escape in insert,visual/select modes +inoremap jk +inoremap +vnoremap jk +vnoremap + +" disable arrow keys +noremap +noremap +noremap +noremap + @@ -130,20 +171,12 @@ nnoremap k :resize -1 nnoremap l :vertical resize +1 nnoremap h :vertical resize -1 -let mapleader = "\" -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 (ale_previous_wrap) "nmap (ale_next_wrap) +"wordpress.vim +let g:wordpress_vim_wordpress_path = "~/Projects/Wordpress/WordpressSource" + " syntastic