(global-set-key (kbd "<f5>") 'balance-windows)
(global-set-key (kbd "<f6>") 'shrink-window)
(global-set-key (kbd "<f7<") 'enlarge-window)
(global-set-key (kbd "<f8>") 'enlarge-window-horizontally)
(global-set-key (kbd "<f9>") 'shrink-window-horizontally)
[emacs] Assign keyboard shortcuts to adjust buffer width and height
These are f*ucking handy!
[emacs] Toggle read only mode
To ensure you don't accidentally change a file, enable the read-only mode.
OR
Very useful when using gdb
M-x toggle-read-only
OR
C-x C-q
Very useful when using gdb
[emacs] search within a file
To search within a file
.. and it takes regular expressions as well.
M-x occur
.. and it takes regular expressions as well.
Subscribe to:
Posts (Atom)