Skip to content

Commit

Permalink
adding some configs I aggregated over a while.
Browse files Browse the repository at this point in the history
  • Loading branch information
toumorokoshi committed Sep 7, 2015
1 parent 2a02ff5 commit 8f32f22
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
autosetuprebase = remote
[http]
sslVerify = false
[core]
excludesfile = /home/tsutsumi/.gitignore_global
1 change: 1 addition & 0 deletions .xinitrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ setxkbmap -option caps:escape
xmodmap -e "pointer = 3 2 1"
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
[[ -f ~/.xprofile ]] && . ~/.xprofile
export LD_LIBRARY_PATH=/usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib
xmonad
7 changes: 7 additions & 0 deletions emacs/.mc-lists.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@

(setq mc/cmds-to-run-for-all
'(
c-electric-brace
c-electric-colon
c-electric-lt-gt
c-electric-paren
c-electric-semi&comma
coffee-dedent-line-backspace
evil-append-line
evil-backward-char
evil-change
Expand All @@ -19,11 +22,15 @@
evil-forward-char
evil-forward-word-begin
evil-insert
evil-next-line
evil-normal-state
evil-previous-line
evil-scroll-line-down
forward-sentence
go-mode-insert-and-indent
jedi:dot-complete
org-self-insert-command
python-indent-electric-colon
sgml-slash
tab-to-tab-stop
viper-Append
Expand Down
2 changes: 1 addition & 1 deletion emacs/my-evil.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

;; let's disable keymaps we don't want.
;; basically, anything that uses C or M
(define-key evil-visual-state-map "\C-w" nil)
(define-key evil-visual-state-map "\C-w" 'kill-region)
(define-key evil-normal-state-map (kbd "M-.") nil)
(define-key evil-normal-state-map "\C-t" nil)
(define-key evil-normal-state-map "\C-p" nil)
Expand Down
2 changes: 2 additions & 0 deletions emacs/my-frontend.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
;; yaml-mode
(add-to-list 'auto-mode-alist '("\\.jsx$" . web-mode))
2 changes: 2 additions & 0 deletions emacs/my-loadpackages.el
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@
;; python-specific configs here
(load "~/.emacs.d/my-python.el")

;; frontend specific config here
(load "~/.emacs.d/my-frontend.el")

; haskell-mode
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
Expand Down
4 changes: 2 additions & 2 deletions vms/windows/start
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $SCRIPTPATH/bind_devices
# first, we disable one of the output of the screen that the graphics card will take control of.
# The monitor switches automatically because one of the inputs turns off while the other input (with the windows vm) starts up
echo "switching screen configuration..."
xrandr --output DVI-I-2 --auto --output DVI-I-3 --off
# xrandr --output DVI-I-2 --auto --output DVI-I-3 --off

# if synergy isn't running, we start in now.
# synergy is how we communicate to the windows vm
Expand All @@ -35,4 +35,4 @@ $SCRIPTPATH/start_vm

# finally, we restore our screen
echo "back to normal configuration..."
xrandr --output DVI-I-2 --auto --output DVI-I-3 --auto --right-of DVI-I-2
# xrandr --output DVI-I-2 --auto --output DVI-I-3 --auto --right-of DVI-I-2
2 changes: 1 addition & 1 deletion vms/windows/start_vm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ MEMORY='-m 16384'

# directly using a physical hard drive
# note i'm adding a bus here too, to attach the HD to.
HD='-device piix4-ide,bus=pcie.0,id=piix4-ide -drive file=/dev/sdb,id=disk,format=raw -device ide-hd,bus=piix4-ide.1,drive=disk'
HD='-device piix4-ide,bus=pcie.0,id=piix4-ide -drive file=/dev/sdb,id=disk,format=raw,if=none -device ide-hd,bus=piix4-ide.1,drive=disk'

# here's the real bread and butter. Adding a GPU bus and attaching devices to it
# also disabling the built-in vga, which will ensure routing of graphics to the GPUs.
Expand Down

0 comments on commit 8f32f22

Please sign in to comment.