File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 45
45
46
46
(defun my-csharp-mode ()
47
47
(add-to-list 'company-backends 'company-omnisharp )
48
+ (yas-minor-mode )
48
49
(omnisharp-mode)
49
50
(company-mode)
50
51
(flycheck-mode)
Original file line number Diff line number Diff line change @@ -177,8 +177,6 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
177
177
(setq yas-snippet-dirs
178
178
'(" ~/.emacs.d/yasnippet-csharp" ))
179
179
180
- (yas-global-mode 1 )
181
-
182
180
(defun dos2unix (buffer )
183
181
" Automate M-% C-q C-m RET C-q C-j RET"
184
182
(interactive " *b" )
@@ -222,7 +220,6 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
222
220
(global-set-key [(control shift tab)] 'unbury-buffer )
223
221
(global-set-key (kbd " C-M-<left>" ) 'er/expand-region )
224
222
(global-set-key (kbd " C-M-<right>" ) 'er/contract-region )
225
- (global-set-key (kbd " <tab>" ) 'tab-indent-or-complete )
226
223
; ; enable ctrl-s to wrap around seeing as we disabled ctrl-r
227
224
(defadvice isearch-repeat (after isearch-no-fail activate)
228
225
(unless isearch-success
@@ -323,3 +320,17 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
323
320
(load (file-name-sans-extension fullpath)))))))
324
321
(load-directory " ~/.emacs.d/config" )
325
322
323
+ ; ; (add-hook 'term-mode-hook 'evil-emacs-state)
324
+
325
+ (defun my-term-use-utf8 ()
326
+ (set-buffer-process-coding-system 'utf-8-unix 'utf-8-unix ))
327
+
328
+ (add-hook 'term-exec-hook 'my-term-use-utf8 )
329
+
330
+ (defun my-term-hook ()
331
+ (goto-address-mode )
332
+ (define-key term-raw-map " \C -y" 'my-term-paste ))
333
+
334
+ (add-hook 'term-mode-hook 'my-term-hook )
335
+
336
+ (setq system-uses-terminfo nil )
You can’t perform that action at this time.
0 commit comments