diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..99b52ea --- /dev/null +++ b/.vimrc @@ -0,0 +1,104 @@ + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Vundle For Managing Plugins +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +set nocompatible " be iMproved, required +filetype off " required + +" set the runtime path to include Vundle and initialize +set rtp+=~/.vim/bundle/Vundle.vim + +call vundle#begin() " required, all plugins must appear after this line. + +Plugin 'gmarik/Vundle.vim' " Vundle +Plugin 'vim-airline/vim-airline' " Airline +Plugin 'vim-airline/vim-airline-themes' " Airline Themes +"Plugin 'klen/python-mode' " Python Mode + +call vundle#end() " required, all plugins must appear before this line. + +filetype plugin indent on " required +" To ignore plugin indent changes, instead use: +"filetype plugin on + +" Brief help +" :PluginList - lists configured plugins +" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate +" :PluginSearch foo - searches for foo; append `!` to refresh local cache +" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal + +" see :h vundle for more details or wiki for FAQ +" Put your non-Plugin stuff after this line + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Remap Keys +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"Remap ESC to ii +:imap ii + +"Disable arrow keys in Normal mode +no +no +no +no + +"Disable arrow keys in Insert mode +ino +ino +ino +ino + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Powerline +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Powerline +set rtp+=/usr/share/powerline/bindings/vim/ + +" Always show statusline +set laststatus=2 + +" Use 256 colours (Use this setting only if your terminal supports 256 colours) +set t_Co=256 + +syntax on +set number +let g:rehash256 = 1 +let g:Powerline_symbols='unicode' +let g:Powerline_theme='long' + +let g:airline#extensions#tabline#enabled = 1 +let g:airline_powerline_fonts = 1 +let g:airline_theme='powerlineish' + +" Uncomment to prevent non-normal modes showing in powerline and below powerline. +set noshowmode + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Text, tab and indent related +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Use spaces instead of tabs +set expandtab + +" Be smart when using tabs ;) +set smarttab + +" 1 tab == 4 spaces +set shiftwidth=4 +set tabstop=4 + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Colors +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +hi LineNr ctermfg=4 ctermbg=232 +hi Statement ctermfg=3 + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Mouse Scrolling +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +set mouse=nicr + + +set incsearch +set nobackup +set noswapfile