vim.cmd( [[cnoreabbrev s getcmdtype() .. getcmdline() ==# ':s' ? [getchar(), ''][1] .. "%s//g" : 's']] ) vim.keymap.set("ia", "cosnt", "const")