Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Conflict with company-mode and cpputils-cmake #35

Open
ngeiswei opened this issue Jan 7, 2015 · 0 comments
Open

[BUG] Conflict with company-mode and cpputils-cmake #35

ngeiswei opened this issue Jan 7, 2015 · 0 comments

Comments

@ngeiswei
Copy link

ngeiswei commented Jan 7, 2015

Either of the follow config setting in my .emacs silently disable smart-tab. That is when I press

<tab>

it behaves like regular indentation

(defun my-company-hook ()
  (company-mode t)
  (local-set-key [(control return)] 'company-complete)
)
(add-hook 'c-mode-common-hook 'my-company-hook)
(add-hook 'c++-mode-hook (lambda () (cppcm-reload-all)))
;; OPTIONAL, avoid typing full path when starting gdb
(global-set-key (kbd "C-c C-g")
 '(lambda ()(interactive) (gud-gdb (concat "gdb --fullname " (cppcm-get-exe-path-current-buffer))))
)
(setq cppcm-build-dirname build_base)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants