diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-12-11 21:28:21 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-12-11 21:28:21 +0100 |
| commit | cf8012edcb2df21eff06e8b287720fcff3e587cc (patch) | |
| tree | 9b540d961f145cc1007539e0838b9710ea223bad | |
| parent | 70238ad4b68231e90033c3150315c6dc7935609c (diff) | |
| -rw-r--r-- | .bashrc | 1 | ||||
| -rw-r--r-- | .nexrc | 5 | ||||
| -rw-r--r-- | .vimrc | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -90,6 +90,7 @@ alias mp='rlwrap mp' alias hd='hexdump -C' alias pacman='sudo pacman' alias wtree='swaymsg -t get_tree' +alias notes='vi ~/src/notes/ReadMe' # yaegi debug export YAEGI_DOT_CMD='dotty -' @@ -22,5 +22,8 @@ map gn /[A-Z][A-Za-z0-9_]+[A-Z]/ " Jump to go identifier definition using dynamic tag. map gd D:+1,$d
:1,$!wc -c
0cw:!gotag % "yddu..@y
:ta _
-" Ctrl-$ to tag jump +" Ctrl-$ ou <CR> to tag jump map [27;5;36~ +map ^$ ^] +map
+map ,, @@ -193,7 +193,7 @@ let g:go_gopls_enabled = 1 command! Blame normal!:let @a=expand('%')<CR>:let @b=line('.')<CR>:new<CR>:set bt=nofile<CR>:%!git blame -wM --date=short <C-R>a<CR>:<C-R>b<CR> " edit current word as file -noremap ge :e <cWORD>
+noremap ge :e <cword>
" create a tag entry for current filename " noremap gt :!echo "% % 1" >> tags; LC_ALL=C sort -o tags -u tags
noremap <leader>t :!echo "% % 1" >> tags; LC_ALL=C sort -o tags -u tags
|
