vim get color name at cursor
# Returns the foreground color ID of the character at cursor.
# Replace "fg" with "bg" to get the background color.
:echo synIDattr(synIDtrans(synID(line("."), col("."), 1)), "fg")
#============================== SIDE-NOTE ===============================
# You can "alias" it in your vimrc for simpler use in the future like so:
cnoreabbrev GetFgColor echo synIDattr(synIDtrans(synID(line("."),
\ col("."), 1)), "fg")
Also in C++:
- pm2 show command
- batch file path
- how to delete local master branch in git
- apt install y flag
- adb install apk
- code blocks download for debian
- pi samba config
- grep until last match
- redirect python output to file
- gitignore file without extension
- git checkout -b flag
- bbedit close without saving
- heroku create with name
- download heroku ubuntu
- apt-get install plex
- bash sum variable
- how to copy file to another directory in linux
- how to uninstall i7z on ubuntu
- git bash terminal weird characters
- bash check if variable is a number
- input bash
- verify in core compressor with swap backend VM_PAGER_COMPRESSOR_WITH_SWAP
- upgrade dart in flutter
- git change commit message of old commit