new: nvim: set space as leader

This commit is contained in:
qwjyh 2023-10-18 16:39:28 +09:00
parent ac00b91145
commit ec5caca41a
No known key found for this signature in database
GPG key ID: F30838CD89227A79

View file

@ -206,6 +206,7 @@ require('catppuccin').setup({
vim.cmd.colorscheme "catppuccin" vim.cmd.colorscheme "catppuccin"
----------------------------------------------------------- -----------------------------------------------------------
vim.g.mapleader = ' '
-- some terminalmode settings -- some terminalmode settings
vim.keymap.set('t', '<C-w>h', '<C-\\><C-N><C-w>h', vim.keymap.set('t', '<C-w>h', '<C-\\><C-N><C-w>h',
{ noremap = true, desc = "Exit terminal-mode and move to left window." }) { noremap = true, desc = "Exit terminal-mode and move to left window." })