From eda208ffa3594572f9e2c7170e1e4928f98639c5 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 21 Mar 2023 22:06:06 +0100 Subject: [PATCH] add Alt+ shortcuts --- etc/vim/source/map.vim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/etc/vim/source/map.vim b/etc/vim/source/map.vim index c3f985b9..0b829c54 100644 --- a/etc/vim/source/map.vim +++ b/etc/vim/source/map.vim @@ -135,14 +135,17 @@ map x :! """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " F2 - Script, formated text verification -call add(MapHelp,['F2','Check syntaxe']) +call add(MapHelp,['F2, Alt+c','Check syntaxe']) map :call FileCheckSyntaxe() +map c :call FileCheckSyntaxe() """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " F5 - Comment -call add(MapHelp,['F5','Add / Delete comment']) +call add(MapHelp,['F5, Alt+m','Add / Delete comment']) map :call CommentNewLine() vmap :call CommentToggle() +map m :call CommentNewLine() +vmap c :call CommentToggle() """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Alt+h - Help -- 2.47.3