Compare commits
No commits in common. "1f652f100c2038b787ad7d15f8bd26845c681dbd" and "160e258a24a2e731c1f892aeaf8e90cf9689f620" have entirely different histories.
1f652f100c
...
160e258a24
@ -250,7 +250,6 @@ Finish up
|
|||||||
'((dotenv :url "https://github.com/pkulev/dotenv.el")
|
'((dotenv :url "https://github.com/pkulev/dotenv.el")
|
||||||
(doom-themes :url "https://github.com/JosephFerano/doom-themes")
|
(doom-themes :url "https://github.com/JosephFerano/doom-themes")
|
||||||
(pico8-mode :url "https://github.com/Kaali/pico8-mode")
|
(pico8-mode :url "https://github.com/Kaali/pico8-mode")
|
||||||
(org-timeblock :url "https://github.com/ichernyshovvv/org-timeblock")
|
|
||||||
(app-launcher :url "https://github.com/SebastienWae/app-launcher")))
|
(app-launcher :url "https://github.com/SebastienWae/app-launcher")))
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
|
|
||||||
@ -1297,22 +1296,6 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really
|
|||||||
;; (evil-global-set-key 'normal (kbd "M-8") '(lambda () (interactive) (tab-bar-select-tab 8)))
|
;; (evil-global-set-key 'normal (kbd "M-8") '(lambda () (interactive) (tab-bar-select-tab 8)))
|
||||||
;; (evil-global-set-key 'normal (kbd "M-9") '(lambda () (interactive) (tab-bar-select-tab 9)))
|
;; (evil-global-set-key 'normal (kbd "M-9") '(lambda () (interactive) (tab-bar-select-tab 9)))
|
||||||
|
|
||||||
#+end_src
|
|
||||||
*** Frames
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(undelete-frame-mode)
|
|
||||||
(defun joe/select-frame ()
|
|
||||||
(interactive)
|
|
||||||
(let* ((frames (mapcar
|
|
||||||
(lambda (f) (cons (substring-no-properties
|
|
||||||
(cdr (assoc 'name (frame-parameters f))))
|
|
||||||
f))
|
|
||||||
(frame-list)))
|
|
||||||
(selected-frame-name (completing-read "Select Frame: " (mapcar #'car frames)))
|
|
||||||
(selected-frame (alist-get selected-frame-name frames "" nil 'string-equal)))
|
|
||||||
(select-frame-set-input-focus selected-frame)))
|
|
||||||
|
|
||||||
(define-key 'ctl-x-5-prefix (kbd "RET") #'joe/select-frame)
|
|
||||||
#+end_src
|
#+end_src
|
||||||
** Projects
|
** Projects
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
@ -1337,29 +1320,6 @@ Ace Window will show a hint if there are more than 2 windows, but I don't really
|
|||||||
(define-key 'ctl-x-5-prefix "n" #'set-frame-name))
|
(define-key 'ctl-x-5-prefix "n" #'set-frame-name))
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Stuff to immediately switch to Jetbrains for debugging
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
|
|
||||||
(global-set-key (kbd "C-M-r") #'joe/open-in-rider)
|
|
||||||
(defun joe/raise-frame-hook ()
|
|
||||||
(select-frame-set-input-focus (selected-frame)))
|
|
||||||
(add-hook 'server-switch-hook #'joe/raise-frame-hook)
|
|
||||||
(add-hook 'server-switch-hook #'raise-frame)
|
|
||||||
|
|
||||||
(defun joe/open-in-rider ()
|
|
||||||
(interactive)
|
|
||||||
(shell-command
|
|
||||||
(mapconcat #'shell-quote-argument
|
|
||||||
(list "rider"
|
|
||||||
"--line"
|
|
||||||
(int-to-string (line-number-at-pos))
|
|
||||||
"--column"
|
|
||||||
(int-to-string (current-column))
|
|
||||||
buffer-file-name)
|
|
||||||
" ")))
|
|
||||||
#+end_src
|
|
||||||
** VEMCO
|
** VEMCO
|
||||||
*** Vertico
|
*** Vertico
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
@ -1800,7 +1760,7 @@ be kept here commented out in case we want to try it again.
|
|||||||
(setq vterm-shell "/bin/fish")
|
(setq vterm-shell "/bin/fish")
|
||||||
(setq vterm-timer-delay 0.01)
|
(setq vterm-timer-delay 0.01)
|
||||||
(setq vterm-buffer-name-string "VTerm - %s")
|
(setq vterm-buffer-name-string "VTerm - %s")
|
||||||
;; (setq vterm-buffer-name-string nil)
|
(setq vterm-buffer-name-string nil)
|
||||||
(setq vterm-max-scrollback 100000)
|
(setq vterm-max-scrollback 100000)
|
||||||
(setq vterm-kill-buffer-on-exit t)
|
(setq vterm-kill-buffer-on-exit t)
|
||||||
|
|
||||||
@ -2085,15 +2045,10 @@ the right frame, I'm going to use the frame's name to close and remove the hook
|
|||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(require 'gdscript-mode)
|
(require 'gdscript-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Game Dev
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.vert\\'" . shader-mode))
|
|
||||||
(add-to-list 'auto-mode-alist '("\\.frag\\'" . shader-mode))
|
|
||||||
#+end_src
|
|
||||||
** Programming Languages
|
** Programming Languages
|
||||||
*** Python
|
*** Python
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
(require 'elpy)
|
||||||
|
|
||||||
(define-key inferior-python-mode-map (kbd "C-n") #'comint-next-input)
|
(define-key inferior-python-mode-map (kbd "C-n") #'comint-next-input)
|
||||||
(define-key inferior-python-mode-map (kbd "C-p") #'comint-previous-input)
|
(define-key inferior-python-mode-map (kbd "C-p") #'comint-previous-input)
|
||||||
@ -2375,26 +2330,6 @@ and there's no need for a middle-man when it's already been implemented.
|
|||||||
" ═════ "
|
" ═════ "
|
||||||
" ════════════════════ "))
|
" ════════════════════ "))
|
||||||
(define-key global-map (kbd "C-c a") #'org-agenda)
|
(define-key global-map (kbd "C-c a") #'org-agenda)
|
||||||
|
|
||||||
(setq org-agenda-custom-commands
|
|
||||||
'(("n" "Agenda and all TODOs"
|
|
||||||
((agenda "")
|
|
||||||
(alltodo "")))
|
|
||||||
("d" "Daily view"
|
|
||||||
((agenda ""
|
|
||||||
((org-agenda-overriding-header "Daily Agenda")
|
|
||||||
(org-agenda-span 1)
|
|
||||||
(org-agenda-time-grid nil)
|
|
||||||
(org-agenda-overriding-columns-format "%20ITEM %DEADLINE")
|
|
||||||
(org-agenda-view-columns-initially nil)))
|
|
||||||
(tags-todo "dampsig"
|
|
||||||
((org-agenda-overriding-header "🖥️📚🔢⚛️📊🕹️ DAMPSIG\n")
|
|
||||||
(org-agenda-block-separator ?*)))
|
|
||||||
(tags-todo "+PRIORITY=\"B\""
|
|
||||||
())
|
|
||||||
(tags-todo "+PRIORITY=\"C\"")
|
|
||||||
(tags-todo "+PRIORITY=\"D\"")))
|
|
||||||
))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
*** org-capture
|
*** org-capture
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
@ -2411,16 +2346,16 @@ and there's no need for a middle-man when it's already been implemented.
|
|||||||
":DIFFICULTY: medium"
|
":DIFFICULTY: medium"
|
||||||
":END:"
|
":END:"
|
||||||
""
|
""
|
||||||
"#+TITLE: Leetcode %?"
|
"#+TITLE: Leetcode %?: "
|
||||||
"#+AUTHOR: Joseph Ferano"
|
"#+AUTHOR: Joseph Ferano"
|
||||||
"#+STARTUP: show2levels"
|
"#+STARTUP: show2levels"
|
||||||
"#+TAGS: "
|
"#+TAGS: "
|
||||||
""
|
""
|
||||||
"* Python Solution"
|
"* Python Solution"
|
||||||
":PROPERTIES:"
|
":PROPERTIES:"
|
||||||
":CompletionTime: "
|
":CompletionTime: 7m"
|
||||||
":TimeComplexity: O()"
|
":TimeComplexity: O(logn)"
|
||||||
":MemoryComplexity: O()"
|
":MemoryComplexity: O(h)"
|
||||||
":END:"
|
":END:"
|
||||||
":LOGBOOK:"
|
":LOGBOOK:"
|
||||||
":END:"
|
":END:"
|
||||||
@ -2438,8 +2373,8 @@ and there's no need for a middle-man when it's already been implemented.
|
|||||||
(concat
|
(concat
|
||||||
"* %^t\n"
|
"* %^t\n"
|
||||||
"** Schedule\n"
|
"** Schedule\n"
|
||||||
"** Resources\n"
|
"** Notes\n"
|
||||||
"** Notes"))
|
"** Resources"))
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
`(
|
`(
|
||||||
("l" "Leetcode Solution" plain
|
("l" "Leetcode Solution" plain
|
||||||
@ -2535,15 +2470,6 @@ over as explained [[https://manueluberti.eu/2018/02/17/magit-bury-buffer.html][h
|
|||||||
(setq magit-bury-buffer-function #'joe/magit-kill-buffers)
|
(setq magit-bury-buffer-function #'joe/magit-kill-buffers)
|
||||||
(setq magit-clone-set-remote.pushDefault t)
|
(setq magit-clone-set-remote.pushDefault t)
|
||||||
(setq magit-clone-default-directory "~/Development/")
|
(setq magit-clone-default-directory "~/Development/")
|
||||||
|
|
||||||
(defun joe/magit-status-here ()
|
|
||||||
(interactive)
|
|
||||||
(let ((magit-display-buffer-function
|
|
||||||
(lambda (buffer)
|
|
||||||
(display-buffer buffer '(display-buffer-same-window)))))
|
|
||||||
(magit-status)))
|
|
||||||
|
|
||||||
(evil-define-key 'normal joe/evil-space-mode-map (kbd "SPC g h") #'joe/magit-status-here)
|
|
||||||
;; (define-key magit-mode-map "h" 'backward-char)
|
;; (define-key magit-mode-map "h" 'backward-char)
|
||||||
;; (define-key magit-mode-map "l" 'backward-char)
|
;; (define-key magit-mode-map "l" 'backward-char)
|
||||||
|
|
||||||
|
@ -40,4 +40,4 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow
|
|||||||
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||||
SETUVAR fish_user_paths:/home/joe/\x2elocal/share/JetBrains/Toolbox/scripts\x1e/home/joe/\x2elocal/bin/elm\x1e/home/joe/\x2elocal/share/bin/cargo/bin\x1e\x1e/home/joe/\x2elocal/bin
|
SETUVAR fish_user_paths:/home/joe/\x2elocal/bin/elm\x1e/home/joe/\x2elocal/share/bin/cargo/bin\x1e\x1e/home/joe/\x2elocal/bin
|
||||||
|
@ -1,136 +0,0 @@
|
|||||||
let mapleader = " "
|
|
||||||
set so=3
|
|
||||||
set incsearch
|
|
||||||
set clipboard+=unnamed
|
|
||||||
set number
|
|
||||||
set relativenumber
|
|
||||||
"" set idearefactormode=visual
|
|
||||||
set idearefactormode=visual
|
|
||||||
set ignorecase
|
|
||||||
set commentary
|
|
||||||
set highlightedyank
|
|
||||||
set NERDTree
|
|
||||||
set ideajoin
|
|
||||||
set surround
|
|
||||||
set multiple-cursors
|
|
||||||
|
|
||||||
" TODO Find bindings for these
|
|
||||||
" map <Leader>rc :action ChooseRcnConfiguration<CR>
|
|
||||||
" map ;b :action ToggleLineBreakpoint<CR>
|
|
||||||
" map ;e :action EvaluateExpression<CR>
|
|
||||||
" map ;d :action Debug<CR>
|
|
||||||
" map ;r :action Resume<CR>
|
|
||||||
" map ;s :action StepInto<CR>
|
|
||||||
" map ;n :action StepOver<CR>
|
|
||||||
" nmap :action<Up><CR> **** Repeat last command
|
|
||||||
" Find out about VCS tool
|
|
||||||
" We need to get good bindings for window navigation
|
|
||||||
|
|
||||||
" IDE has nice search behavior, consider adding these
|
|
||||||
" map / :action Find<CR>
|
|
||||||
" map n :action FindNext<CR>
|
|
||||||
" map N :action FindPrevious<CR>
|
|
||||||
" vnoremap n :action FindNext<CR>
|
|
||||||
" vnoremap N :action FindPrevious<CR>
|
|
||||||
" map * :action FindWordAtCaret<CR>
|
|
||||||
" map # :action FindWordAtCaret<CR>
|
|
||||||
|
|
||||||
map <Leader>rl <Action>(IdeaVim.ReloadVimRc.reload)
|
|
||||||
|
|
||||||
map ' `
|
|
||||||
map Y y$
|
|
||||||
map $ g_
|
|
||||||
map vv ^vg_
|
|
||||||
vnoremap < <gv
|
|
||||||
vnoremap > >gv
|
|
||||||
map gt <Action>(GotoTypeDeclaration)
|
|
||||||
|
|
||||||
map <Leader>f <Action>(FindInPath)
|
|
||||||
map <C-=> <Action>(EditorIncreaseFontSize)
|
|
||||||
map <C--> <Action>(EditorDecreaseFontSize)
|
|
||||||
map <C-0> <Action>(EditorResetFontSize)
|
|
||||||
|
|
||||||
map ) <Action>(MethodDown)
|
|
||||||
map ( <Action>(MethodUp)
|
|
||||||
|
|
||||||
map \ q
|
|
||||||
map q <Action>(KJumpAction.Word0)
|
|
||||||
|
|
||||||
map <Leader>i :e ~/.config/ideavim/ideavimrc<CR>
|
|
||||||
|
|
||||||
map <C-p>p <Action>(SearchEverywhere)
|
|
||||||
map <C-p>c <Action>(GotoClass)
|
|
||||||
map <C-p>s <Action>(FileStructurePopup)
|
|
||||||
map <C-p>f <Action>(GotoFile)
|
|
||||||
map <C-p>r <Action>(RecentFiles)
|
|
||||||
map <A-x> <Action>(GotoAction)
|
|
||||||
" map <C-p>u <Action>(GotoTest)
|
|
||||||
|
|
||||||
map zd <Action>(CollapseDocComments)
|
|
||||||
map zD <Action>(ExpandDocComments)
|
|
||||||
|
|
||||||
map <C-w>H <Action>(MoveEditorToOppositeTabGroup)
|
|
||||||
map <C-w>L <Action>(MoveEditorToOppositeTabGroup)
|
|
||||||
noremap <C-e> 2<C-e>
|
|
||||||
noremap <C-y> 2<C-y>
|
|
||||||
|
|
||||||
map <Leader>h <Action>(HideAllWindows)
|
|
||||||
map <Leader>q <Action>(CloseContent)
|
|
||||||
" map <Leader>t <Action>(QuickImplementations)
|
|
||||||
map <Leader>d <Action>(QuickJavaDoc)
|
|
||||||
map <Leader>e <Action>(ShowErrorDescription)
|
|
||||||
map <Leader>u <Action>(FindUsages)
|
|
||||||
map <Leader>rn <Action>(RenameElement)
|
|
||||||
map <Leader>c <Action>(ChangeColorScheme)
|
|
||||||
map <Leader>bb <Action>(BuildCurrentProject)
|
|
||||||
map <Leader>br <Action>(Run)
|
|
||||||
map <Leader>bc <Action>(RunClass)
|
|
||||||
map <Leader>bd <Action>(Debug)
|
|
||||||
map <Leader>bs <Action>(BuildSolutionAction)
|
|
||||||
map <Leader>; :actionlist<Space>
|
|
||||||
map <Leader>th <Action>(ToggleInlayHintsGloballyAction)
|
|
||||||
map <Leader>td <Action>(ToggleDistractionFreeMode)
|
|
||||||
|
|
||||||
map <Leader>w <Action>(SaveDocument)
|
|
||||||
map <Leader>or <Action>(ManageRecentProjects)
|
|
||||||
|
|
||||||
" noremap - <Action>(LocateInSolutionView)
|
|
||||||
noremap - :action SelectInProjectView<CR>
|
|
||||||
map = <Action>(ReformatCode)
|
|
||||||
" vnoremap = <Action>(ReformatCode)
|
|
||||||
map <Leader>/ :nohlsearch<CR>
|
|
||||||
map g/ <Action>(Find)
|
|
||||||
|
|
||||||
map g; <Action>(JumpToLastChange)
|
|
||||||
map g, <Action>(JumpToNextChange)
|
|
||||||
|
|
||||||
map <A-1> <Action>(GoToTab1)
|
|
||||||
map <A-2> <Action>(GoToTab2)
|
|
||||||
map <A-3> <Action>(GoToTab3)
|
|
||||||
map <A-4> <Action>(GoToTab4)
|
|
||||||
map <A-5> <Action>(GoToTab5)
|
|
||||||
map <A-6> <Action>(GoToTab6)
|
|
||||||
map <A-7> <Action>(GoToTab7)
|
|
||||||
map <A-8> <Action>(GoToTab8)
|
|
||||||
map <A-9> <Action>(GoToTab9)
|
|
||||||
|
|
||||||
map <C-S-j> <Action>(MoveLineDown)
|
|
||||||
map <C-S-k> <Action>(MoveLineUp)
|
|
||||||
map <C-h> <c-w>h
|
|
||||||
map <C-l> <c-w>l
|
|
||||||
map <C-j> <c-w>j
|
|
||||||
map <C-k> <c-w>k
|
|
||||||
map <C-S-s> <Action>(SurroundWithLiveTemplate)
|
|
||||||
|
|
||||||
map <A-j> <Action>(EditorCloneCaretBelow)
|
|
||||||
map <A-k> <Action>(EditorCloneCaretAbove)
|
|
||||||
map <A-;> A;<Esc>
|
|
||||||
map <A-,> A,<Esc>
|
|
||||||
imap <A-;> <Esc>A;<Esc>
|
|
||||||
map <A-e> <Action>(GotoNextError)
|
|
||||||
map <S-A-e> <Action>(GotoPreviousError)
|
|
||||||
map <A-o> moo<Esc>'o
|
|
||||||
map <A-S-o> moO<Esc>'o
|
|
||||||
map <S-A-h> <Action>(ParameterNameHints)
|
|
||||||
|
|
||||||
map <C-A-e> <Action>(Tool_External Tools_Emacs)
|
|
Loading…
x
Reference in New Issue
Block a user