" This file lists all the global keymaps " Set K to hover command -nargs=+ LspHover lua vim.lsp.buf.hover() set keywordprg=:LspHover " Use ctrl-[hjkl] to select the active split! nmap :wincmd k nmap :wincmd j nmap :wincmd h nmap :wincmd l " Change the leader and localleader let mapleader="," let maplocalleader=';' " Use ,dd for deleting without putting into buffer nnoremap d "_d nnoremap D "_D nnoremap x "_x vnoremap d "_d " Insert a newline in normal mode by ,o nnoremap o ok nnoremap O Oj " Use ,u for redo nnoremap u " Find files using fzf by ,f nnoremap f :Files