kakoune: keys to comment block and line
This commit is contained in:
@@ -69,6 +69,12 @@ map global -docstring 'Next' make-mode 'n' ': make-next-error<ret>'
|
|||||||
map global -docstring 'Previous' make-mode 'p' ': make-previous-error<ret>'
|
map global -docstring 'Previous' make-mode 'p' ': make-previous-error<ret>'
|
||||||
map global -docstring 'General messages' make-mode 'g' ': set window make_error_pattern "^([^:\n]+):(\d+):(?:(\d+):)? ([^\n]+)?"<ret>'
|
map global -docstring 'General messages' make-mode 'g' ': set window make_error_pattern "^([^:\n]+):(\d+):(?:(\d+):)? ([^\n]+)?"<ret>'
|
||||||
|
|
||||||
|
declare-user-mode code-mode
|
||||||
|
map global -docstring 'Code' user 'c' ': enter-user-mode code-mode<ret>'
|
||||||
|
|
||||||
|
map global -docstring 'Comment block' code-mode 'b' ': comment-block<ret>'
|
||||||
|
map global -docstring 'Comment line' code-mode 'l' ': comment-line<ret>'
|
||||||
|
|
||||||
evaluate-commands %sh{
|
evaluate-commands %sh{
|
||||||
if [ -n "$WAYLAND_DISPLAY" ]; then
|
if [ -n "$WAYLAND_DISPLAY" ]; then
|
||||||
echo "
|
echo "
|
||||||
|
|||||||
Reference in New Issue
Block a user