From c823193f5060ee9d282f9478faaf76affc2bec4d Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Mon, 30 Oct 2017 11:36:15 +0100 Subject: [PATCH] Remap syntax highlighting function The mapping for the function to show the syntax highlighting groups for the current cursor position collides with the AUR package "plotinus-git" (1) which provides a searchable command palette in every modern GTK+ application. Is uses the commonly known "Control + Shift + P" key mapping. The used terminal emulator "tilix" (2) is a GTK3 application so the command bar is available and has a higher priority as the mapping for the function. This commit changes the key mapping for the function to use the "K" key instead of "P". References: (1) https://aur.archlinux.org/packages/plotinus-git (2) https://github.com/gnunn1/tilix GH-36 --- snowblocks/vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snowblocks/vim/vimrc b/snowblocks/vim/vimrc index 49f2666..801b4cf 100644 --- a/snowblocks/vim/vimrc +++ b/snowblocks/vim/vimrc @@ -240,7 +240,7 @@ set incsearch "+ Functions + "+-----------+ " Shows syntax highlighting groups for the current cursor position -nmap :call SynStack() +nmap :call SynStack() function! SynStack() if !exists("*synstack") return