Run bash terminal inside VIM with Conque-Shell

This is one of the coolest trick I’ve ever seen when working with VIM. This plugin allows you to run the bash terminal inside the VIM. And you can actually make it a spitted pane within your VIM work space. Check out this plugin: How to install conque-shell: Open vim config: vim ~/.vimrc call plug#begin(‘~/.vim/plugged’) … Read more

Setup plugin manager for vim on fedora 28

Vim is one of the tool that must have in any unix like system. One of the reason for using vim is the customization and the plugins that can be used depending on the needs. To install plugins on vim, I’m using vim-plugin from junegunn/vim-plug. Check vim version In fedora vim already installed, but you might … Read more

NerdTree command cheatsheet

Install NerdTree : http://chrisstrelioff.ws/sandbox/2014/05/29/install_and_setup_vim_on_ubuntu_14_04.html ctrl+ww move cursor back to list directory gt next tab gT previous tab Enable html syntax: au BufReadPost *.ezt set syntax=html Nerdtree setup alike: let g:netrw_banner = 0 let g:netrw_liststyle = 3 let g:netrw_browse_split = 4 let g:netrw_altv = 1 let g:netrw_winsize = 25 augroup ProjectDrawer autocmd! autocmd VimEnter * :Vexplore augroup … Read more

Vim cheatsheet

:%s/foo/bar/g # replace string v # open new file to vplit window from netrw gf # go to file (current window) from netrw y # yank/copy lines p # paste from yanked/clipboard gg # go to top GG # go to bottom % # match bracket Ctrl-e # open Vexplorer left side after new tab :1316 # go to line number

My vim standard config

highlight Cursor guifg=white guibg=black highlight iCursor guifg=white guibg=steelblue set guicursor=n-v-c:block-Cursor set guicursor+=i:ver100-iCursor set guicursor+=n-v-c:blinkon0 set guicursor+=i:blinkwait10 set mouse=a autocmd TextChanged,TextChangedI <buffer> silent write set clipboard=unnamedplus set paste set nu set tabstop=4 noremap <S-s> :w <Enter> let g:netrw_banner = 0 let g:netrw_liststyle = 3 let g:netrw_browse_split = 4 let g:netrw_altv = 1 let g:netrw_winsize = 25 … Read more