"------VUNDLE CONFIGS------ "Installation shiz ""git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim set nocompatible filetype off set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' Plugin 'scrooloose/nerdtree' Plugin 'kien/ctrlp.vim' Plugin 'fatih/vim-go' Plugin 'christoomey/vim-tmux-navigator' Plugin 'shougo/vinarise' Plugin 'tpope/vim-fugitive' Plugin 'benekastah/neomake' Plugin 'airblade/vim-gitgutter' "Plugin 'shougo/deoplete.nvim' call vundle#end() filetype plugin indent on "------/VUNDLE CONFIGS----- "------NORMAL CONFIGS------ colorscheme cottonmouse "colorscheme jellybeans "command Mouse set mouse=a set mouse= syntax enable au BufRead,BufNewFile *.hy set filetype=hy "filetype plugin indent on set number set cursorline "set showmatch " tabformatting... "set listchars=tab:\|\ "set list hi LineNr ctermbg=NONE hi LineNr ctermfg=DarkGrey " set tabstop=4 set shiftwidth=4 "set expandtab autocmd Filetype html call SetHtmlOptions() function SetHtmlOptions() setlocal ts=2 sts=2 sw=2 setlocal expandtab "setlocal foldmethod=syntax setlocal foldmethod=indent endfunction autocmd Filetype css setlocal ts=2 sts=2 sw=2 autocmd Filetype gitcommit setlocal spell textwidth=72 "------/NORMAL CONFIGS----- "------VIM KEYBIND CONFIGS------- nnoremap j nnoremap k nnoremap h nnoremap l "------/VIM KEYBIND CONFIGS------ "------GO-VIM CONFIGS------ let g:go_fmt_fail_silently = 1 "let g:go_fmt_autosave = 0 "------/GO-VIM CONFIGS----- "------COLOR CONFIGS------ hi LineNr ctermbg=NONE hi LineNr ctermfg=DarkGrey "------/COLOR CONFIGS----- "------ TERMINAL CONFIGS------ :au BufEnter * if &buftype == 'terminal' | :startinsert | endif ":tnoremap h ":tnoremap j ":tnoremap k ":tnoremap l :nnoremap h :nnoremap j :nnoremap k :nnoremap l "------/TERMINAL CONFIGS----- "" "------HEX MODE------ "" " vim -b : edit binary using xxd-format! "" augroup Binary "" au! "" au BufReadPre *.bin let &bin=1 "" au BufReadPost *.bin if &bin | %!xxd "" au BufReadPost *.bin set ft=xxd | endif "" au BufWritePre *.bin if &bin | %!xxd -r "" au BufWritePre *.bin endif "" au BufWritePost *.bin if &bin | %!xxd "" au BufWritePost *.bin set nomod | endif "" augroup END "" "------/HEX MODE------ "------NEOMAKE CONFIGS----- " this is the syntastic-like plugin autocmd! BufWritePost * Neomake "-----/NEOMAKE CONFIGS----- " Use deoplete. "let g:deoplete#enable_at_startup = 1