summaryrefslogtreecommitdiff
path: root/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'init.vim')
-rw-r--r--init.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/init.vim b/init.vim
index 9213c66..807b166 100644
--- a/init.vim
+++ b/init.vim
@@ -178,6 +178,14 @@ noremap <M-©> <cmd>TSCaptureUnderCursor<cr>
noremap Τ <cmd>Inspect<cr>
command! Config edit $HOME/.config/nvim/init.vim
+command! Configl edit $HOME/.config/nvim/local.vim
+
+cnoreabbrev <expr> _config expand("$HOME/.config/nvim")
+cnoreabbrev <expr> _plugged expand("$HOME/.local/share/nvim/plugged")
+cnoreabbrev <expr> _fm expand("$HOME/.local/share/nvim/plugged/fieldmarshal.vim")
+cnoreabbrev <expr> _home expand("$HOME/.local/share/nvim")
+cnoreabbrev <expr> _projects expand("$HOME/Projects")
+cnoreabbrev <expr> _ escape(expand('%:h'), ' \')
set textwidth=80
set colorcolumn=+1
@@ -240,6 +248,7 @@ lua << EOF
layout_strategy = "center",
results_title = false,
sorting_strategy = "ascending",
+ -- path_display = "shorten",
layout_config = {
center = {
width = 0.5,