Skip to content

Instantly share code, notes, and snippets.

@robgrzel
Created January 8, 2018 05:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robgrzel/e473576686a7ed154907b5aacc9b1147 to your computer and use it in GitHub Desktop.
Save robgrzel/e473576686a7ed154907b5aacc9b1147 to your computer and use it in GitHub Desktop.
Hi @robgrzel , there are two files for user customization
~/.EverVim.vimrc is for global user config that will override the default
YOUR_PROJECT/.EverVim.project is for per-project settings that overrides the default and the global user config. You can just simply put this file in the project root directory.
As for user-defined keymappings, it's just how you normally define vim keymaps. You can add key mapping to one of those files above. For example
" in one of your project root
" .EverVim.project
nnoremap <Leader>mb :!cd build; cmake ..; make -j
That will create a user-define keymap <Leader>mb to a command to use cmake to build the current project.
Of course, leader M is just a vacant keymap prefix that I defined for user-defined kemaps, you can map it to for example <Leader>dq as long as that key mapping has not already been defined.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment