More work configuration

This commit is contained in:
Valentin Gehrke 2017-09-26 17:57:55 +02:00
parent 01234f7b5d
commit 5572b3e4b6
2 changed files with 23 additions and 11 deletions

View file

@ -12,7 +12,6 @@
;; Set frame title
(setq frame-title-format "[%m] %f")
(setq-default indent-tabs-mode nil)
;; Default frame size
(setq initial-frame-alist
@ -45,11 +44,16 @@
'(ansi-color-names-vector
["#242424" "#e5786d" "#95e454" "#cae682" "#8ac6f2" "#333366" "#ccaa8f" "#f6f3e8"])
'(blink-cursor-mode nil)
'(cperl-close-paren-offset -2)
'(cperl-electric-parens nil)
'(cperl-indent-level 2)
'(cperl-indent-parens-as-block t)
'(custom-enabled-themes (quote (heroku)))
'(custom-safe-themes
(quote
("4f2ede02b3324c2f788f4e0bad77f7ebc1874eff7971d2a2c9b9724a50fb3f65" default)))
'(global-evil-surround-mode t)
'(indent-tabs-mode nil)
'(inhibit-startup-screen t)
'(menu-bar-mode nil)
'(package-selected-packages
@ -64,10 +68,8 @@
'(shell-pop-window-position "top")
'(shell-pop-window-size 20)
'(tool-bar-mode nil)
'(cperl-indent-level 2)
'(cperl-close-paren-offset -2)
'(cperl-indent-parens-as-block t)
'(cperl-electric-parens nil))
'(dired-listing-switches "-lh")
'(ac-ignore-case nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
@ -248,9 +250,10 @@
;; (setq-default shell-pop-term-shell my/default-shell))
;; tabbing (doesn't really work yet)
(setq-default indent-tabs-mode t)
(setq-default tab-width 4)
(setq-default LateX-indent-level 4)
(add-hook 'latex-mode-hook (progn
(setq indent-tabs-mode t)))
;; Activate line numbers
(global-linum-mode t)
@ -294,6 +297,9 @@
(global-set-key (kbd "<M-left>") 'windmove-left)
(global-set-key (kbd "<M-right>") 'windmove-right)
; Whitespace mode toggle
(global-set-key (kbd "C-c C-l") 'whitespace-mode)
(defun cycle-window ()
"cycles windows"
(interactive)

View file

@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: Shebang Perl
# key: #!
# --
#!/usr/bin/perl
$0