Skip to content

Commit

Permalink
Setup cutlass.nvim properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Shatur committed Dec 16, 2021
1 parent b0e5db6 commit b03840e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 0 additions & 5 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ vim.api.nvim_command('command! LspDiagnosticsDisable lua vim.diagnostic.disable(
vim.g.mapleader = ' '
vim.api.nvim_set_keymap('n', '<CR>', ':', { noremap = true })

-- Move operator
vim.api.nvim_set_keymap('', 'm', 'd', { noremap = true })
vim.api.nvim_set_keymap('', 'M', 'D', { noremap = true })
vim.api.nvim_set_keymap('n', 'mm', 'dd', { noremap = true })

-- Remap increase / decrease number shortucts to + and - signs
vim.api.nvim_set_keymap('n', '<C-=>', '<C-a>', { noremap = true })
vim.api.nvim_set_keymap('n', '<C-->', '<C-x>', { noremap = true })
Expand Down
3 changes: 3 additions & 0 deletions plugin/cutlass.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require('cutlass').setup({
cut_key = 'm',
})

0 comments on commit b03840e

Please sign in to comment.