♻️ Reassociated certain commands with espanso
This commit is contained in:
parent
7de6db9bcc
commit
a713c086ab
2 changed files with 6 additions and 3 deletions
|
|
@ -81,4 +81,10 @@ matches:
|
|||
- trigger: ":func"
|
||||
replace: "function () {}"
|
||||
|
||||
- trigger: ":cll"
|
||||
replace: "console.log()"
|
||||
|
||||
- trigger: ":cle"
|
||||
replace: "console.error()"
|
||||
|
||||
# And much more! For more information, visit the docs: https://espanso.org/docs/
|
||||
|
|
|
|||
|
|
@ -32,9 +32,6 @@ vim.cmd[[nmap <C-k> <C-Up>]]
|
|||
-- Escape Insert Mode with ii
|
||||
keymap('i', 'ii', '<Esc>', {})
|
||||
|
||||
-- Insert a console.log()
|
||||
vim.cmd[[ inoremap cll console.log()<esc>i]]
|
||||
|
||||
-- Alias replace all to shift + S
|
||||
vim.cmd[[nnoremap S :%s///gI<Left><Left><Left><Left>]]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue