nvim: init: Trivial alignment clean up
This commit is contained in:
parent
bf4029aea3
commit
5af13bb98f
1 changed files with 12 additions and 16 deletions
|
@ -59,15 +59,19 @@ vim.g.loaded_vimballPlugin = 1
|
||||||
vim.g.loaded_zipPlugin = 1
|
vim.g.loaded_zipPlugin = 1
|
||||||
|
|
||||||
-- Map leader
|
-- Map leader
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
vim.g.maplocalleader = ","
|
vim.g.maplocalleader = ","
|
||||||
|
-- vim-dispatch
|
||||||
-- dispatch
|
vim.g.dispatch_no_maps = 1
|
||||||
vim.g.dispatch_no_maps = 1
|
|
||||||
|
|
||||||
-- vim-matchup
|
-- vim-matchup
|
||||||
vim.g.matchup_matchparen_offscreen = { method = 'popup', fullwidth = true }
|
vim.g.matchup_matchparen_offscreen = { method = 'popup', fullwidth = true }
|
||||||
vim.g.matchup_surround_enabled = 1
|
vim.g.matchup_surround_enabled = 1
|
||||||
|
-- No default mappings for tmux navigator
|
||||||
|
vim.g.tmux_navigator_no_mappings = 1
|
||||||
|
-- Write the current buffer, but only if changed before navigating from Vim to tmux pane
|
||||||
|
vim.g.tmux_navigator_save_on_switch = 1
|
||||||
|
-- Disable ]]/[[ style bindings
|
||||||
|
vim.g.no_rust_maps = 1
|
||||||
|
|
||||||
if os.getenv("SSH_CONNECTION") then
|
if os.getenv("SSH_CONNECTION") then
|
||||||
local osc52 = require('vim.ui.clipboard.osc52')
|
local osc52 = require('vim.ui.clipboard.osc52')
|
||||||
|
@ -98,14 +102,6 @@ else
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
-- No default mappings for tmux navigator
|
|
||||||
vim.g.tmux_navigator_no_mappings = 1
|
|
||||||
-- Write the current buffer, but only if changed before navigating from Vim to tmux pane
|
|
||||||
vim.g.tmux_navigator_save_on_switch = 1
|
|
||||||
|
|
||||||
-- Disable ]]/[[ style bindings
|
|
||||||
vim.g.no_rust_maps = 1
|
|
||||||
|
|
||||||
-- We do this to prevent the loading of the system fzf.vim plugin. This is
|
-- We do this to prevent the loading of the system fzf.vim plugin. This is
|
||||||
-- present at least on Arch/Manjaro
|
-- present at least on Arch/Manjaro
|
||||||
vim.cmd.set{ args = { 'rtp-=/usr/share/vim/vimfiles' } }
|
vim.cmd.set{ args = { 'rtp-=/usr/share/vim/vimfiles' } }
|
||||||
|
|
Loading…
Reference in a new issue