Created
July 21, 2021 11:35
-
-
Save iiey/ef5ac9cb9392b68b64038a95d7a163f7 to your computer and use it in GitHub Desktop.
neovim init file
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
" ~/.config/nvim/init.vim | |
" LOAD VIM CONFIG | |
set runtimepath^=~/.vim runtimepath+=~/.vim/after | |
let &packpath = &runtimepath | |
source ~/.vim/vimrc | |
" load plugins with vimplug | |
call plug#begin('~/.vim/plugged') | |
if has('nvim-0.5.0') | |
Plug 'nvim-lua/popup.nvim' | |
Plug 'nvim-lua/plenary.nvim' | |
Plug 'nvim-telescope/telescope.nvim' | |
endif | |
call plug#end() | |
" Telescope | |
nnoremap <leader>ff <cmd>Telescope find_files<cr> | |
nnoremap <leader>fg <cmd>Telescope live_grep<cr> | |
nnoremap <leader>fb <cmd>Telescope buffers<cr> | |
nnoremap <leader>fh <cmd>Telescope help_tags<cr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment