added a (still empty) colors file to nvim config
added keymaps to move a window to tmux
This commit is contained in:
1
nvim/.config/nvim/lua/zegonix/colors.lua
Normal file
1
nvim/.config/nvim/lua/zegonix/colors.lua
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
require("zegonix.keybindings")
|
||||
require("zegonix.settings")
|
||||
|
||||
require("zegonix.colors")
|
||||
|
||||
@@ -68,3 +68,4 @@ vim.opt.shortmess:append("c") -- don't give |ins-completion-menu| messages
|
||||
vim.opt.iskeyword:append("-") -- hyphenated words recognized by searches
|
||||
vim.opt.formatoptions:remove({ "c", "r", "o" }) -- don't insert the current comment leader automatically for auto-wrapping comments using 'textwidth', hitting <Enter> in insert mode, or hitting 'o' or 'O' in normal mode.
|
||||
vim.opt.runtimepath:remove("/usr/share/vim/vimfiles") -- separate vim plugins from neovim in case vim still in use
|
||||
|
||||
|
||||
@@ -12,9 +12,13 @@ set-option -g prefix C-Space
|
||||
# general keybindings
|
||||
bind r source-file ~/.config/tmux/tmux.conf \; display-message "config reloaded"
|
||||
|
||||
# window navigation
|
||||
bind -n M-S-Left previous-window
|
||||
bind -n M-S-Right next-window
|
||||
bind-key -r > swap-window -t :+1 \; select-window -t +1
|
||||
bind-key -r < swap-window -t :-1 \; select-window -t -1
|
||||
|
||||
# pane navigation
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Down select-pane -D
|
||||
bind -n M-Up select-pane -U
|
||||
|
||||
Reference in New Issue
Block a user