aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/lua/plugins/telescope.lua2
-rw-r--r--.config/nvim/lua/user/opts.lua23
2 files changed, 18 insertions, 7 deletions
diff --git a/.config/nvim/lua/plugins/telescope.lua b/.config/nvim/lua/plugins/telescope.lua
index f878b77..abf4e5e 100644
--- a/.config/nvim/lua/plugins/telescope.lua
+++ b/.config/nvim/lua/plugins/telescope.lua
@@ -329,7 +329,7 @@ function M.find_notes()
prompt_title = " Find Notes",
path_display = { "smart" },
search_dirs = {
- "~/documents",
+ "~/documents/notes",
},
--cwd = "~documents/notes",
layout_strategy = "horizontal",
diff --git a/.config/nvim/lua/user/opts.lua b/.config/nvim/lua/user/opts.lua
index 6da4234..57b2949 100644
--- a/.config/nvim/lua/user/opts.lua
+++ b/.config/nvim/lua/user/opts.lua
@@ -1,13 +1,24 @@
--[[ opts.lua ]]
+-- " Load indent files, to automatically do language-dependent indenting.
+--vim.cmd([[
+-- "filetype plugin indent on
+--]])
+-- Let clipboard register be +
vim.cmd([[
- "filetype plugin indent on " Load indent files, to automatically do language-dependent indenting.
- "autocmd BufEnter * :syntax sync fromstart
- "syntax enable
let g:clipbrdDefaultReg = '+'
- "set nocompatible
- "autocmd FileType lua set comments=s1:---,m:--,ex:--
- nnoremap @ <cmd>execute "noautocmd norm! " . v:count1 . "@" . getcharstr()<cr> " Fast macros without lazyredraw
+]])
+
+--vim.cmd([[
+-- "autocmd BufEnter * :syntax sync fromstart
+-- "syntax enable
+-- "set nocompatible
+-- "autocmd FileType lua set comments=s1:---,m:--,ex:--
+--]])
+
+-- Fast macros without lazyredraw
+vim.cmd([[
+ nnoremap @ <cmd>execute "noautocmd norm! " . v:count1 . "@" . getcharstr()<cr>
xnoremap @ :<C-U>execute "noautocmd '<,'>norm! " . v:count1 . "@" . getcharstr()<cr>
]])