mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-22 11:45:09 +02:00
fix: keymaps rendo CTRL+r
This commit is contained in:
parent
8254e41ef5
commit
4c30893658
3 changed files with 6 additions and 6 deletions
|
@ -46,7 +46,7 @@
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "43aa2ddf476012a2155f5f969ee55ab17174da7a" },
|
"nvim-web-devicons": { "branch": "master", "commit": "43aa2ddf476012a2155f5f969ee55ab17174da7a" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
||||||
"smart-splits.nvim": { "branch": "master", "commit": "c8a9173d70cbbd1f6e4a414e49e31df2b32a1362" },
|
"smart-splits.nvim": { "branch": "master", "commit": "c8a9173d70cbbd1f6e4a414e49e31df2b32a1362" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "e0651458f2ced647f3ff3c89d5663244b3cf45af" },
|
"telescope.nvim": { "branch": "master", "commit": "3466159b0fcc1876483f6f53587562628664d850" },
|
||||||
"toggleterm.nvim": { "branch": "main", "commit": "cbd041d91b90cd3c02df03fe6133208888f8e008" },
|
"toggleterm.nvim": { "branch": "main", "commit": "cbd041d91b90cd3c02df03fe6133208888f8e008" },
|
||||||
"tokyonight.nvim": { "branch": "main", "commit": "633039585dff7fd2b9b62fb190bf768702609d95" },
|
"tokyonight.nvim": { "branch": "main", "commit": "633039585dff7fd2b9b62fb190bf768702609d95" },
|
||||||
"vim-bbye": { "branch": "master", "commit": "903f5eb17f72ebf7b0b1524bbb792c0b36761af6" },
|
"vim-bbye": { "branch": "master", "commit": "903f5eb17f72ebf7b0b1524bbb792c0b36761af6" },
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
augroup _general_settings
|
augroup _general_settings
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd FileType qf,help,man,lspinfo nnoremap <silent> <buffer> q :close<CR>
|
autocmd FileType qf,help,man,lspinfo nnoremap <silent> <buffer> q :close<CR>
|
||||||
autocmd TextYankPost * silent!lua require('vim.highlight').on_yank({higroup = 'Visual', timeout = 200})
|
autocmd TextYankPost * silent!lua require('vim.highlight').on_yank({higroup = 'Visual', timeout = 200})
|
||||||
autocmd BufWinEnter * :set formatoptions=croql
|
autocmd BufWinEnter * :set formatoptions=croql
|
||||||
autocmd BufWinEnter * :set textwidth=80
|
autocmd BufWinEnter * :set textwidth=80
|
||||||
autocmd BufWinEnter * :set colorcolumn=+1
|
autocmd BufWinEnter * :set colorcolumn=+1
|
||||||
|
@ -26,7 +26,7 @@ vim.cmd([[
|
||||||
|
|
||||||
augroup _auto_resize
|
augroup _auto_resize
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd VimResized * tabdo wincmd =
|
autocmd VimResized * tabdo wincmd =
|
||||||
augroup end
|
augroup end
|
||||||
|
|
||||||
augroup _alpha
|
augroup _alpha
|
||||||
|
|
|
@ -111,8 +111,8 @@ keymap("n", "<C-s>", "<cmd>w<cr>", opts)
|
||||||
keymap("n", "q", "<cmd>q<cr>", opts)
|
keymap("n", "q", "<cmd>q<cr>", opts)
|
||||||
keymap("x", "<S-Down>", ":'<,'>t'><cr>", opts)
|
keymap("x", "<S-Down>", ":'<,'>t'><cr>", opts)
|
||||||
|
|
||||||
keymap("i", "<C-r>", "<cmd>RunFile<CR>", opts)
|
-- keymap("i", "<C-r>", "<cmd>RunFile<CR>", opts)
|
||||||
keymap("n", "<C-r>", "<cmd>RunFile<CR>", opts)
|
-- keymap("n", "<C-r>", "<cmd>RunFile<CR>", opts)
|
||||||
|
|
||||||
-- Visual Block --
|
-- Visual Block --
|
||||||
-- Move text up and down
|
-- Move text up and down
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue