This repository contains all my configs of my Commonly used software eg. VIM, tmux.
[toc]
Add the following to ~/.ctags to make ctags support golang
--langdef=Go
--langmap=Go:.go
--regex-Go=/func([ \t]+\([^)]+\))?[ \t]+([a-zA-Z0-9_]+)/\2/d,func/
--regex-Go=/var[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/d,var/
--regex-Go=/type[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/d,type/
for searching interface implementation, we always need to search function
name(guru do the same but some times it does not work.)
<leader>gfdo an search under the cursor.
- map prefix to C-A
- turn off auto rename
- vim color scheme compatible changes
you should add below code to your shell profile:
alias tmux="tmux -2"And set up the default-terminal option in ~/.tmux.conf:
set -g default-terminal "xterm"Reference