Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- starting with letter bracket quote dot comma
- run -> window buffer right show
- refreshing txt file node cmd watch
- live console log window
- ;;=====================
- delete q b ?
- change q b ?
- insert q b ?
- ;;=====================
- remove brackets?
- remove quotes?
- ;;=====================
- line
- block
- line in between
- if(x) {
- here highlight
- }
- ;;=====================
- mark previous where cursor was
- last edited point
- ;;=====================
- save everything killed cut paste buffer file history
- fzf rg
- ;;=====================
- search forward ([{'"
- expand region hydra +/-
- continue search forward or search backward hydra n/p | [/]
- ;;=====================
- hydra
- activator key
- read (letter)
- highlight matches next back followed by bracket preceded by comma/dot et...
- ;;=====================
- https://gist.github.com/fukamachi/304391
- ;;=====================
- func()
- a.indexOf(b[i])
- [1,2,3,4,5]
- {a:1,b:2,c:3}
- ;;=====================
- https://emacs.stackexchange.com/questions/21115/looping-through-re-seach-forward-gives-error
- ;;=====================
- https://gist.github.com/mrbig033/ad4a9787e159e61afd519d5208a8a394
- ;;=====================
- (setq message-kill-buffer-on-exit t)
- ;;=====================
- (use-package goto-chg
- :config
- (global-set-key (kbd "C-o") 'goto-last-change)
- (global-set-key (kbd "M-o") 'goto-last-change-reverse))
- ;;=====================
- (defun custom-find-func (fnName regex-string)
- "Finds custom things inside brackets parenthesis"
- (interactive)
- (when (funcall (intern fnName) regex-string nil t)
- )
- )
- (global-set-key (kbd "<C-f3>") (lambda () (interactive) (custom-find-func "re-search-forward""(\\(.*?\\))" )))
- (global-set-key (kbd "<C-f1>") (lambda () (interactive) (custom-find-func "re-search-forward""\\[\\(.+\\)\\]" )))
- (global-set-key (kbd "<C-f2>") 'eval-buffer)
- ;;=====================
- ;;working 04/29/2020 -- dan inside quotes and brackets forward search only
- ;;=====================
- (defun jump-forward-and-highlight-inside-quotes ()
- "highlight encounters in-between single and double quotes"
- (interactive)
- (deactivate-mark)
- (forward-char 2)
- (when (re-search-forward "'\\|\"" nil t)
- (er/expand-region 1)
- (exchange-point-and-mark)
- )
- )
- (defun jump-forward-and-highlight-inside-pairs ()
- "Bounce from one paren to the matching paren."
- (interactive)
- (when (re-search-forward "\\[\\|\{\\|\(" nil t)
- (er/mark-inside-pairs)
- (exchange-point-and-mark)
- )
- )
- (global-set-key (kbd "<C-f1>") 'jump-forward-and-highlight-inside-quotes)
- (global-set-key (kbd "<C-f2>") 'jump-forward-and-highlight-inside-pairs)
- (global-set-key (kbd "<C-f3>") 'eval-buffer)
- ;;=====================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement