Search notes:

vim script: maparg

" ../run_ maparg

redir > maparg.out

inoremap tq84_one ONE
echo maparg('tq84_one', 'i')  " ONE
echo maparg('tq84_one', 'n')  "
echo maparg('tq84_two', 'i')  "

nnoremap tq84_one ONE-n
echo maparg('tq84_one', 'n')  " ONE-n

echo "\n"

redir END

q
Github repository about-vim, path: /vimscript/functions/maparg.vim

See also

Vim mappings
Vim: built in functions

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758184364, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/vim/script/vimscript/functions/maparg(57): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78