diff options
author | eug-vs <eugene@eug-vs.xyz> | 2021-08-21 20:01:56 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2021-08-21 20:01:56 +0300 |
commit | 5102008c2a3f28b5848d6c9260140f7630f6a7f5 (patch) | |
tree | 0d6a884939ff9f717705706f9f7e3925e5328ab9 /nvim | |
parent | 2ec4d34c9e2004dcb42e5270bb7cb749131aa64d (diff) | |
download | dotfiles-5102008c2a3f28b5848d6c9260140f7630f6a7f5.tar.gz |
fix: remove keybindings overlap
Diffstat (limited to 'nvim')
-rw-r--r-- | nvim/.config/nvim/init.vim | 4 | ||||
-rw-r--r-- | nvim/.config/nvim/lua/lsp-config.lua | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 6d46a35..1e6a3b1 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -60,8 +60,8 @@ nnoremap <leader>ev :vs $MYVIMRC<CR> nnoremap <leader>sv :source $MYVIMRC<CR> " Telescope -nnoremap <Leader>ff :Telescope find_files<CR> -nnoremap <Leader>fr :Telescope live_grep<CR> +nnoremap <Leader>f :Telescope find_files<CR> +nnoremap <Leader>r :Telescope live_grep<CR> " Plugin-specific configuration source ~/.config/nvim/startify.vim diff --git a/nvim/.config/nvim/lua/lsp-config.lua b/nvim/.config/nvim/lua/lsp-config.lua index ac486dc..74f22a6 100644 --- a/nvim/.config/nvim/lua/lsp-config.lua +++ b/nvim/.config/nvim/lua/lsp-config.lua @@ -20,7 +20,6 @@ local on_attach = function(client, bufnr) buf_set_keymap('n', 'K', '<cmd>lua vim.lsp.buf.hover()<CR>', opts) buf_set_keymap('n', '<leader>rn', '<cmd>lua vim.lsp.buf.rename()<CR>', opts) buf_set_keymap('n', '<leader>ca', '<cmd>lua vim.lsp.buf.code_action()<CR>', opts) - buf_set_keymap('n', '<leader>f', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts) end local flags = { |