Last active
July 30, 2026 00:55
-
-
Save indiosmo/8ccbc3cf61b74bc0474c394bc19918d5 to your computer and use it in GitHub Desktop.
vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible | |
| filetype off | |
| call plug#begin() | |
| Plug 'junegunn/fzf.vim' | |
| Plug 'easymotion/vim-easymotion' | |
| Plug 'morhetz/gruvbox' | |
| call plug#end() | |
| let mapleader=" " | |
| " clang-format | |
| nnoremap <C-k> :py3f /path/to/clang-format.py<CR> | |
| vnoremap <C-k> :py3f /path/to/clang-format.py<CR> | |
| inoremap <C-k> <C-o>:py3f /path/to/clang-format.py<CR> | |
| " fzf | |
| set rtp+=~/.fzf | |
| " fuzzy find files in the working directory (where you launched Vim from) | |
| nmap <C-p> :Files<cr> | |
| " fuzzy find lines in the current file | |
| nmap <leader>/ :BLines<cr> | |
| " fuzzy find text in the working directory | |
| nmap <leader>a :Ag | |
| " fuzzy find Vim commands (like Ctrl-Shift-P in Sublime/Atom/VSC) | |
| nmap <leader>c :Commands<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment