cleanup keybindings file

This commit is contained in:
ksyasuda 2022-11-08 00:48:07 -08:00
parent 32003aa2f3
commit ee0cc0f5ba

View File

@ -28,7 +28,6 @@ nmap gDf :Telescope lsp_definitions<CR>
nmap gF :edit <cfile><cr>
nmap gT :Telescope lsp_type_definitions<CR>
nmap gb :Gitsigns blame_line<CR>
" nmap gd :lua vim.lsp.buf.definition()<CR>
nmap gi :Telescope lsp_implementations<CR>
nmap gj :Telescope jumplist<CR>
nmap gl :lua vim.lsp.buf.code_lens()<CR>
@ -51,22 +50,16 @@ nmap <leader>ca :lua vim.lsp.buf.code_action()<CR>
nmap <leader>cd :Telescope diagnostics<CR>
nmap <leader>cp :vert Copilot panel<CR>
nmap <leader>cs :lua require("copilot.suggestion").toggle_auto_trigger()<CR>
" nmap <leader>cl :lua vim.lsp.diagnostic.show_line_diagnostics()<CR>
" nnoremap <silent> <Leader>cn :DashboardNewFile<CR>
nnoremap <leader>fb :Telescope buffers<cr>
nnoremap <leader>ff :Telescope find_files<cr>
nnoremap <leader>fg :Telescope live_grep<cr>
nnoremap <leader>fh :Telescope oldfiles<cr>
nnoremap <leader>fd :e ~/.config/nvim/init.vim<cr>
" nmap <silent> <Leader>fa :DashboardFindWord<CR>
" nmap <silent> <Leader>fb :DashboardJumpMark<CR>
" nmap <silent> <Leader>fh :DashboardFindHistory<CR>
nmap <leader>gb :Gitsigns blame_line<CR>
nmap <leader>gc :Telescope git_commits<CR>
nmap <leader>gf :Telescope git_files<CR>
" nmap <leader>gg :Neogit<CR>
nmap <leader>gg :FloatermNew --title=lazygit --width=1.0 --height=1.0 --opener=vsplit lazygit<CR>
nnoremap gP <cmd>lua require('goto-preview').close_all_win()<CR>
nnoremap gR <cmd>Telescope lsp_references<cr>
@ -83,7 +76,6 @@ nmap <leader>isp :-1read $HOME/Templates/python.py<CR>4jw
nmap <leader>j :AnyJump<CR>
" nmap K :DocsViewToggle<CR>
nmap K :lua vim.lsp.buf.hover()<CR>
nmap <leader>ld :Telescope lsp_definitions<CR>
@ -132,11 +124,5 @@ nmap <leader>wa :lua vim.lsp.buf.add_workspace_folder()<CR>
nmap <leader>wl :lua print(vim.inspect(vim.lsp.buf.list_workspace_folders()))<CR>
nmap <leader>wr :lua vim.lsp.buf.remove_workspace_folder()<CR>
" nnoremap <leader>xd <cmd>TroubleToggle document_diagnostics<cr>
" nnoremap <leader>xl <cmd>TroubleToggle loclist<cr>
" nnoremap <leader>xq <cmd>TroubleToggle quickfix<cr>
" nnoremap <leader>xw <cmd>TroubleToggle workspace_diagnostics<cr>
" nnoremap <leader>xx <cmd>TroubleToggle<cr>
nmap <leader>y "+
vmap <leader>y "+