This commit is contained in:
secretspecter 2024-01-06 11:39:05 -07:00
parent 26f0a64d78
commit 1f1a2797d2

View file

@ -32,17 +32,16 @@
;(tmap :<C-w>s "<C-\\><C-n>:new term://bash<cr>") ;(tmap :<C-w>s "<C-\\><C-n>:new term://bash<cr>")
;; terminal ;; terminal
(nmap :<leader>to ":new term://bash|resize 8<cr>") (nmap :<leader>to ":new term://bash|resize 8<cr>")
(nmap :<leader>tt ":term tut<cr>i")
(nmap :<leader>tg ":term gomuks<cr>i") (nmap :<leader>tg ":term gomuks<cr>i")
;;(nmap :<leader>tt ":term tut<cr>i")
(vim.api.nvim_create_autocmd (vim.api.nvim_create_autocmd
[:BufWinEnter :WinEnter] [:BufWinEnter :WinEnter]
{:pattern "term://*" {:pattern "term://*"
:command "startinsert"}) :command "startinsert"})
;; gemwiki
(nmap :<leader>dd (nmap :<leader>dd
#(vim.cmd (.. "split ~/gemwiki/diary/" #(vim.cmd (.. "split ~/TDC-Obsidian/Journal/"
(os.date "%Y%m%d") (os.date "%Y-%m-%d")
".gmi" ".md"
"|resize 8|$") "|resize 8|$")
"Open today's diary")) "Open today's diary"))
(nmap :<leader>p ":Telescope find_files<cr>" "Telescope find_files") (nmap :<leader>p ":Telescope find_files<cr>" "Telescope find_files")