Awesome comments, Emacs indentation settings.

master
Pierre Neidhardt 2013-06-06 17:29:18 +02:00
parent 9c75be9acd
commit 59a21c3b3c
2 changed files with 9 additions and 6 deletions

View File

@ -602,17 +602,19 @@ awful.rules.rules = {
-- Only works for terminal with WM_COMMAND property? -- Only works for terminal with WM_COMMAND property?
-- Does not work with LXTerminal. -- Does not work with LXTerminal.
{ rule = { name = "cmus"}, { rule = { name = "cmus" },
properties = { tag = tags[1][6] } }, properties = { tag = tags[1][6] } },
{ rule = { name = "mutt"}, { rule = { name = "mutt" },
properties = { tag = tags[1][7] } }, properties = { tag = tags[1][7] } },
-- { rule = { class = "Gimp" }, -- { rule = { class = "Gimp" },
-- properties = { floating = false } }, -- properties = { floating = false } },
-- Emacs Speedbar -- Emacs Speedbar. This does not work when Speedbar is first launched,
{ rule = { name = "Speedbar 1.0"}, -- because its frame is called "emacs...", not speedbar. It only works when
properties = { width = 20 }, -- 'speedbar' command is issued thereafter. Use 'C-x z z' after the first
-- speedbar call to automate this.
{ rule = { name = "Speedbar 1.0" },
callback = function( c ) awful.tag.setmwfact(0.15) end }, callback = function( c ) awful.tag.setmwfact(0.15) end },
} }

View File

@ -78,8 +78,9 @@
(define-key my-keys-minor-mode-map (kbd "C-<f5>") 'linum-mode) ;; Toggle line numbers. (define-key my-keys-minor-mode-map (kbd "C-<f5>") 'linum-mode) ;; Toggle line numbers.
;; Indentation ;; Indentation
;(setq standard-indent 4)
(setq-default tab-width 4) (setq-default tab-width 4)
(setq-default standard-indent 4)
(setq-default c-basic-offset 4)
(setq-default indent-tabs-mode nil) ;; Indentation cannot insert tabs (setq-default indent-tabs-mode nil) ;; Indentation cannot insert tabs
;; Line by line scrolling ;; Line by line scrolling