Skip to content

Configurations

Dongdong Zhou edited this page Jan 18, 2018 · 7 revisions

Version

GonvimVersion           - Show Gonvim version

Modern UI

Disable Statusline
let g:gonvim_draw_statusline = 0
Disable Tabline
let g:gonvim_draw_tabline = 0
Disable the lint message popup
let g:gonvim_draw_lint = 0
Disable drawing of split by gonvim
let g:gonvim_draw_split = 0
Start in fullscreen mode
let g:gonvim_start_fullscreen = 1

Fuzzy finder in GUI

To set up fuzzy finder :

Add any these in your init.vim file based on your plugin manager.

Plug 'dzhou121/gonvim-fuzzy'       " Vim plug
Neobundle 'dzhou121/gonvim-fuzzy'  " Neobundle
Plugin 'dzhou121/gonvim-fuzzy'     " Vundle

Now you have the following commands available for fuzzy gui search:

GonvimFuzzyFiles   - For Files
GonvimFuzzyBLines  - For Lines in the Current File
GonvimFuzzyAg      - For runing FZF_AG ( searches current directory )
GonvimFuzzyBuffers - For searching opened Buffers

Workspace

You can use the following commands to control workspace

GonvimWorkspaceNew       -  Create a new workspace
GonvimWorkspaceNext      -  Switch to the next workspace
GonvimWorkspacePrevious  -  Switch to the previous workspace
GonvimWorkspaceSwitch n  -  Switch to workspace n

Markdown Preview

GonvimMarkdown           - Toggle markdown preview window

Miscellaneous Configuration

Font and Line spacing

To change font and line spacing

Add any these in your init.vim file based on your plugin manager.

Plug 'equalsraf/neovim-gui-shim'       " Vim plug
Neobundle 'equalsraf/neovim-gui-shim'  " Neobundle
Plugin 'equalsraf/neovim-gui-shim'     " Vundle
  • Now use the following in your ginit.vim
GuiFont Monaco:h13
GuiLinespace 8