 (semantic-mode 1)
 (global-semantic-idle-summary-mode 1)
 (global-semantic-idle-completions-mode 1)
-(global-set-key "\C-cf" 'semantic-ia-show-summary)
 
 ;; ecb (code browser)
 (require 'ecb-autoloads)

 '(evernote-developer-token "S=s162:U=117b1be:E=1496c388c33:C=14214876037:P=1cd:A=en-devtoken:V=2:H=b31dbef3ff74c8b74ff117549bd396af")
 '(ido-enable-tramp-completion nil)
 '(matlab-shell-command-switches (quote ("-nodesktop -nosplash")))
 '(safe-local-variable-values nil))

;; disable tramp

;; yascroll
(global-yascroll-bar-mode 1)

;; better search/replace
(require 'visual-regexp)
(require 'visual-regexp-steroids)
(global-set-key "\C-cr" 'vr/query-replace)

;; copy end of line, like C-k
(defun copy-line ()
  (interactive)
  (set 'this-command 'copy-to-kill)
  (save-excursion
    (set-mark (point))
    (if (= (point) (line-end-position))
        (forward-line)
      (goto-char (line-end-position)))
    (if (eq last-command 'copy-to-kill)
        (append-next-kill))
    (kill-ring-save (mark) (point))))
(global-set-key "\M-k" 'copy-line)

;; move to beginning of text on line
(defun smart-beginning-of-line ()
    "Move point to first non-whitespace character or beginning-of-line.
