vis: add keys for make, profile add CDPATH
This commit is contained in:
@@ -13,6 +13,8 @@ export LANG=pl_PL.UTF-8
|
||||
export EDITOR=vis
|
||||
export VISUAL=vis
|
||||
|
||||
export CDPATH="$HOME:$HOME/src:$HOME/cloned:$HOME/dotfiles/vis/.config/vis/plugins"
|
||||
|
||||
# if running bash
|
||||
if [ -n "$BASH_VERSION" ]; then
|
||||
# include .bashrc if it exists
|
||||
|
||||
@@ -8,7 +8,7 @@ local fzfmru = require('plugins/vis-fzf-mru/fzf-mru')
|
||||
require('plugins/vis-build')
|
||||
require('plugins/vis-cursors')
|
||||
require('plugins/vis-colorizer')
|
||||
require('plugins/vis-quickfix')
|
||||
local qf = require('plugins/vis-quickfix')
|
||||
require('plugins/vis-pairs')
|
||||
|
||||
require('plugins/vis-pin-files')
|
||||
@@ -247,6 +247,8 @@ vis.events.subscribe(vis.events.INIT, function()
|
||||
vis:map(vis.modes.NORMAL, '<M-n>', '<vis-prompt-show>open<Enter>')
|
||||
vis:map(vis.modes.NORMAL, ' K', close_prev_win)
|
||||
vis:map(vis.modes.NORMAL, ' J', close_next_win)
|
||||
vis:map(vis.modes.NORMAL, ' k', qf.action.cp)
|
||||
vis:map(vis.modes.NORMAL, ' j', qf.action.cn)
|
||||
|
||||
vis:map(vis.modes.NORMAL, ' [', '<vis-prompt-show>lspc-prev-diagnostic<Enter>')
|
||||
vis:map(vis.modes.NORMAL, ' ]', '<vis-prompt-show>lspc-next-diagnostic<Enter>')
|
||||
@@ -298,11 +300,11 @@ vis.events.subscribe(vis.events.INIT, function()
|
||||
open_file_current_line('o')
|
||||
end, 'open file from current line in new window (with optional line and col)')
|
||||
|
||||
vis:map(vis.modes.NORMAL, ' k', function()
|
||||
vis:map(vis.modes.NORMAL, ' zk', function()
|
||||
open_file_current_line('e', '<vis-window-prev>')
|
||||
end, 'open file from current line in above window (with optional line and col)')
|
||||
|
||||
vis:map(vis.modes.NORMAL, ' j', function()
|
||||
vis:map(vis.modes.NORMAL, ' zj', function()
|
||||
open_file_current_line('e', '<vis-window-next>')
|
||||
end, 'open file from current line in below window (with optional line and col)')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user