Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added shortcut to join line. Removed scroll bar

  • Loading branch information...
commit b7e7aa4267c1f42dcc725dc096be83b79e7df924 1 parent fa1bdbe
M. Habibullah Pagarkar authored

Showing 1 changed file with 5 additions and 7 deletions. Show diff stats Hide diff stats

  1. +5 7 init.el
12 init.el
@@ -17,6 +17,9 @@
17 17
18 18 (byte-recompile-directory user-emacs-directory 0)
19 19
  20 +;; Keyboard shortcuts
  21 +(global-set-key [(control j)] 'join-line)
  22 +
20 23 ;; Reliable way to maximize the window on startup on Ubuntu. Sorta successful on a Mac with Emacs 24.
21 24 (require 'maxframe)
22 25 (add-hook 'window-setup-hook 'maximize-frame t)
@@ -26,17 +29,12 @@
26 29
27 30 ;; Trailing whitespace should be banned
28 31 (add-hook 'before-save-hook 'delete-trailing-whitespace)
29   -
30 32 (setq whitespace-style '(trailing space-before-tab indentation space-after-tab))
31 33
32 34 ;; Use spaces for indentation
33 35 (setq indent-tabs-mode nil)
34 36 (setq-default indent-tabs-mode nil)
35 37
36   -;; Remove the toolbar
37   -(if (fboundp 'tool-bar-mode)
38   - (tool-bar-mode -1))
39   -
40 38 ;; I don't like to type yes. y should suffice
41 39 (fset 'yes-or-no-p 'y-or-n-p)
42 40
@@ -158,7 +156,7 @@
158 156 '(mouse-yank-at-point t)
159 157 '(recentf-mode 1)
160 158 '(save-place t nil (saveplace))
161   - '(scroll-bar-mode (quote right))
  159 + '(scroll-bar-mode nil)
162 160 '(show-paren-mode t)
163 161 '(size-indication-mode t)
164 162 '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify)))
@@ -222,7 +220,7 @@
222 220 (autoload 'sass-mode "sass-mode" nil t)
223 221
224 222 ;; Load up Ruby and its related settings
225   - (require 'ruby-settings)
  223 +(require 'ruby-settings)
226 224
227 225 ;; Load up JavaScript settings
228 226 (require 'javascript-settings)

0 comments on commit b7e7aa4

Please sign in to comment.
Something went wrong with that request. Please try again.