mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
vim: remove split-term config
This commit is contained in:
parent
4fa6ca3527
commit
4d152339e8
1 changed files with 0 additions and 15 deletions
|
@ -27,21 +27,6 @@ vim.keymap.set('n', "<C-Down>", "<cmd>resize +2<cr>")
|
||||||
vim.keymap.set('n', "<C-Left>", "<cmd>vertical resize -2<cr>")
|
vim.keymap.set('n', "<C-Left>", "<cmd>vertical resize -2<cr>")
|
||||||
vim.keymap.set('n', "<C-Right>", "<cmd>vertical resize +2<cr>")
|
vim.keymap.set('n', "<C-Right>", "<cmd>vertical resize +2<cr>")
|
||||||
|
|
||||||
vim.keymap.set('n', "<C-/>", "<cmd>:terminal<cr>")
|
|
||||||
vim.keymap.set('n', "<C-_>", "<cmd>:terminal<cr>") -- This is Ctrl+/ on some terminals?
|
|
||||||
|
|
||||||
vim.cmd("autocmd TermOpen * setlocal nonumber norelativenumber signcolumn=no")
|
|
||||||
for _, key in pairs({ 'h', 'j', 'k', 'l' }) do
|
|
||||||
for _, mod in pairs({ 'C', 'A' }) do
|
|
||||||
vim.keymap.set(
|
|
||||||
't',
|
|
||||||
'<' .. mod .. '-' .. key .. '>',
|
|
||||||
'<C-\\><C-n><' .. mod .. '-' .. key .. '>',
|
|
||||||
{ remap = true }
|
|
||||||
)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd('TextYankPost', {
|
vim.api.nvim_create_autocmd('TextYankPost', {
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.highlight.on_yank()
|
vim.highlight.on_yank()
|
||||||
|
|
Loading…
Reference in a new issue