Skip to content

About

This repository contains all my configs of my Commonly used software eg. VIM, tmux.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

71 Commits

Folders and files

Repository files navigation

This repository contains all my configs of my Commonly used software eg. VIM, tmux.

[toc]

vim configuration

golang support

Using ctags with Go

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/

search function definition

for searching interface implementation, we always need to search function name(guru do the same but some times it does not work.)

  • <leader>gf do an search under the cursor.

tmux configuration

  • 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

About

This repository contains all my configs of my Commonly used software eg. VIM, tmux.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages