Search This Blog

13 September, 2019

dinomycle vimrc file

"show status bar
set laststatus=2

"Highlight search
set hlsearch


"Turning off expandtab in VIM for editing makefile
let _curfile = expand("%:t")
if _curfile =~ "Makefile" || _curfile =~ "makefile" || _curfile =~ ".*\.mk"
set noexpandtab
else
set expandtab
set tabstop=4
set shiftwidth=4
endif


"showing all opened files in vim
map <F4> :ls<CR>:buffer<space>

"showing the status bar with extra info
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\ [HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]

set autoindent


tmux enabling mouse interaction

Add the below line to the ~/.tmux.conf setw -g mouse on save the file and exit from the tmux shell, you should be able to use your mouse to ...