This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use-package dired | |
:straight (:type built-in) | |
:hook ((dired-mode . hl-line-mode) | |
(dired-mode . dired-hide-details-mode)) | |
:custom | |
(dired-recursive-copies 'always) | |
(dired-recursive-deletes 'always) | |
;;use to copy to the next buffer visible | |
(dired-dwim-target t) | |
;; Auto refresh Dired, but be quiet about it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use-package vterm | |
:config | |
(defun get-full-list () | |
(let ((program-list (split-string (shell-command-to-string "compgen -c") "\n" t )) | |
(file-directory-list (split-string (shell-command-to-string "compgen -f") "\n" t )) | |
(history-list (with-temp-buffer | |
(insert-file-contents "~/.bash_history") | |
(split-string (buffer-string) "\n" t)))) | |
(delete-dups (append program-list file-directory-list history-list)))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" With this function you can reuse the same terminal in neovim. | |
" You can toggle the terminal and also send a command to the same terminal. | |
let s:monkey_terminal_window = -1 | |
let s:monkey_terminal_buffer = -1 | |
let s:monkey_terminal_job_id = -1 | |
function! MonkeyTerminalOpen() | |
" Check if buffer exists, if not create a window and a buffer | |
if !bufexists(s:monkey_terminal_buffer) |