00-my-setup: key-bindung for 'query-replace'
* on qwertz keyboards use a more convinient accessible binding "M-#" * move python mode adaptions to python mode.el * deactivate annoying visible/audible bell Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -13,7 +13,9 @@
|
||||
(interactive)
|
||||
(load-file user-init-file))
|
||||
|
||||
;; elementary key bindings
|
||||
(bind-key "C-c M-l" 'reload-init-file)
|
||||
(bind-key "M-#" 'query-replace) ; default is to cryptic on qwertz
|
||||
|
||||
;; surpress bloat messages
|
||||
(setq inhibit-startup-message t
|
||||
@@ -21,6 +23,9 @@
|
||||
inhibit-startup-echo-area-message t
|
||||
inhibit-splash-screen t)
|
||||
|
||||
(setq visible-bell nil) ; Disable annoying visual bell graphic
|
||||
(setq ring-bell-function 'ignore) ; Disable super annoying audio bell
|
||||
|
||||
;; line wrapping
|
||||
(setq new-line-add-newlines nil)
|
||||
(setq-default truncate-lines t)
|
||||
@@ -33,13 +38,6 @@
|
||||
;; to window panes organized horizontally
|
||||
;; (split-window-horizontally)
|
||||
|
||||
;; python mode adaptions
|
||||
(add-hook 'python-mode-hook
|
||||
(lambda ()
|
||||
(setq indent-tabs-mode t)
|
||||
(setq python-indent 8)
|
||||
(setq tab-width 4)))
|
||||
|
||||
;; enable 'linux' as default c-mode minor mode
|
||||
(add-hook 'c-mode-common-hook
|
||||
'linux)
|
||||
@@ -73,4 +71,5 @@
|
||||
(fset 'yes-or-no-p 'y-or-n-p)
|
||||
|
||||
(provide '00-my-setup)
|
||||
;; End:
|
||||
;;; 00-my-setup.el ends here
|
||||
|
||||
Reference in New Issue
Block a user