fixup! feat(meow): Move cursor down after duplicating line
This commit is contained in:
@@ -6,10 +6,15 @@
|
|||||||
|
|
||||||
(setf meow-expand-hint-remove-delay 0)
|
(setf meow-expand-hint-remove-delay 0)
|
||||||
|
|
||||||
|
(setq duplicate-line-final-position 1)
|
||||||
(map! :map meow-normal-state-keymap
|
(map! :map meow-normal-state-keymap
|
||||||
:leader "d" (lambda () (interactive) (duplicate-dwim) (next-line))
|
"M-p" 'duplicate-dwim
|
||||||
:desc "Duplicate line/region")
|
:desc "Duplicate line/region")
|
||||||
|
|
||||||
|
(map! :map meow-normal-state-keymap
|
||||||
|
:leader "y" 'copy-from-above-command
|
||||||
|
:desc "Copy from above")
|
||||||
|
|
||||||
(pcase system-type
|
(pcase system-type
|
||||||
('darwin ; macOS
|
('darwin ; macOS
|
||||||
(setq doom-font (font-spec :family "Maple Mono" :size 20))
|
(setq doom-font (font-spec :family "Maple Mono" :size 20))
|
||||||
|
|||||||
@@ -16,9 +16,14 @@
|
|||||||
#+end_src
|
#+end_src
|
||||||
** Keybindings
|
** Keybindings
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
(setq duplicate-line-final-position 1)
|
||||||
(map! :map meow-normal-state-keymap
|
(map! :map meow-normal-state-keymap
|
||||||
:leader "d" (lambda () (interactive) (duplicate-dwim) (next-line))
|
"M-p" 'duplicate-dwim
|
||||||
:desc "Duplicate line/region")
|
:desc "Duplicate line/region")
|
||||||
|
|
||||||
|
(map! :map meow-normal-state-keymap
|
||||||
|
:leader "y" 'copy-from-above-command
|
||||||
|
:desc "Copy from above")
|
||||||
#+end_src
|
#+end_src
|
||||||
** Appearance settings
|
** Appearance settings
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|||||||
16
init.el
16
init.el
@@ -21,7 +21,7 @@
|
|||||||
;;layout ; auie,ctsrnm is the superior home row
|
;;layout ; auie,ctsrnm is the superior home row
|
||||||
:completion
|
:completion
|
||||||
;;company ; the ultimate code completion backend
|
;;company ; the ultimate code completion backend
|
||||||
(corfu +icons +orderless) ; complete with cap(f), cape and a flying feather!
|
(corfu +icons +orderless +dabbrev) ; complete with cap(f), cape and a flying feather!
|
||||||
;;helm ; the *other* search engine for love and life
|
;;helm ; the *other* search engine for love and life
|
||||||
;;ido ; the other *other* search engine...
|
;;ido ; the other *other* search engine...
|
||||||
;;ivy ; a search engine for love and life
|
;;ivy ; a search engine for love and life
|
||||||
@@ -35,10 +35,10 @@
|
|||||||
;; (emoji +unicode) ; 🙂
|
;; (emoji +unicode) ; 🙂
|
||||||
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||||
;; indent-guides ; highlighted indent columns
|
;; indent-guides ; highlighted indent columns
|
||||||
( ligatures +extras) ; ligatures and symbols to make your code pretty again
|
;; (ligatures +extras) ; ligatures and symbols to make your code pretty again
|
||||||
;;minimap ; show a map of the code on the side
|
;;minimap ; show a map of the code on the side
|
||||||
modeline ; snazzy, Atom-inspired modeline, plus API
|
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||||
nav-flash ; blink cursor line after big motions
|
;; nav-flash ; blink cursor line after big motions
|
||||||
;;neotree ; a project drawer, like NERDTree for vim
|
;;neotree ; a project drawer, like NERDTree for vim
|
||||||
ophints ; highlight the region an operation acts on
|
ophints ; highlight the region an operation acts on
|
||||||
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
||||||
@@ -50,17 +50,17 @@
|
|||||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||||
window-select ; visually switch windows
|
window-select ; visually switch windows
|
||||||
workspaces ; tab emulation, persistence & separate workspaces
|
workspaces ; tab emulation, persistence & separate workspaces
|
||||||
( zen +mixed-pitch-mode) ; distraction-free coding or writing
|
;; ( zen +mixed-pitch-mode) ; distraction-free coding or writing
|
||||||
|
|
||||||
:editor
|
:editor
|
||||||
(meow +qwerty)
|
(meow +qwerty)
|
||||||
;; (evil +everywhere) ; come to the dark side, we have cookies
|
;; (evil +everywhere) ; come to the dark side, we have cookies
|
||||||
file-templates ; auto-snippets for empty files
|
file-templates ; auto-snippets for empty files
|
||||||
fold ; (nigh) universal code folding
|
;; fold ; (nigh) universal code folding
|
||||||
(format +onsave +lsp) ; automated prettiness
|
(format +onsave +lsp) ; automated prettiness
|
||||||
;;god ; run Emacs commands without modifier keys
|
;;god ; run Emacs commands without modifier keys
|
||||||
;;lispy ; vim for lisp, for people who don't like vim
|
;;lispy ; vim for lisp, for people who don't like vim
|
||||||
;; multiple-cursors ; editing in many places at once
|
;;multiple-cursors ; editing in many places at once
|
||||||
;;objed ; text object editing for the innocent
|
;;objed ; text object editing for the innocent
|
||||||
;;parinfer ; turn lisp into python, sort of
|
;;parinfer ; turn lisp into python, sort of
|
||||||
;;rotate-text ; cycle region at point between text candidates
|
;;rotate-text ; cycle region at point between text candidates
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
ansible
|
ansible
|
||||||
biblio ; Writes a PhD for you (citation needed)
|
biblio ; Writes a PhD for you (citation needed)
|
||||||
;;collab ; buffers with friends
|
;;collab ; buffers with friends
|
||||||
debugger ; FIXME stepping through code, to help you add bugs
|
;; debugger ; FIXME stepping through code, to help you add bugs
|
||||||
direnv
|
direnv
|
||||||
( docker +lsp +tree-sitter)
|
( docker +lsp +tree-sitter)
|
||||||
editorconfig ; let someone else argue about tabs vs spaces
|
editorconfig ; let someone else argue about tabs vs spaces
|
||||||
@@ -106,7 +106,7 @@
|
|||||||
;;pass ; password manager for nerds
|
;;pass ; password manager for nerds
|
||||||
pdf ; pdf enhancements
|
pdf ; pdf enhancements
|
||||||
;;terraform ; infrastructure as code
|
;;terraform ; infrastructure as code
|
||||||
;; tmux ; an API for interacting with tmux
|
;;tmux ; an API for interacting with tmux
|
||||||
tree-sitter ; syntax and parsing, sitting in a tree...
|
tree-sitter ; syntax and parsing, sitting in a tree...
|
||||||
upload ; map local to remote projects via ssh/ftp
|
upload ; map local to remote projects via ssh/ftp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user