mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 19:15:37 +00:00
Basic nvim setup
This commit is contained in:
parent
ba37e28f17
commit
f312d791b1
@ -20,6 +20,9 @@ setup_symlinks() {
|
|||||||
rm -rf "$HOME/.vim"
|
rm -rf "$HOME/.vim"
|
||||||
ln -s "$DOTS/vim" "$HOME/.vim"
|
ln -s "$DOTS/vim" "$HOME/.vim"
|
||||||
|
|
||||||
|
rm -rf "$HOME/.config/nvim"
|
||||||
|
ln -s "$DOTS/vim" "$HOME/.config/nvim"
|
||||||
|
|
||||||
echo "symlinks ✓"
|
echo "symlinks ✓"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,14 +30,13 @@ values."
|
|||||||
dotspacemacs-configuration-layer-path '()
|
dotspacemacs-configuration-layer-path '()
|
||||||
;; List of configuration layers to load.
|
;; List of configuration layers to load.
|
||||||
dotspacemacs-configuration-layers
|
dotspacemacs-configuration-layers
|
||||||
'(
|
'(vimscript
|
||||||
php
|
php
|
||||||
sql
|
sql
|
||||||
sml
|
sml
|
||||||
javascript
|
javascript
|
||||||
html
|
html
|
||||||
csv
|
csv
|
||||||
;; (rust :variables rust-backend 'racer)
|
|
||||||
(rust :variables
|
(rust :variables
|
||||||
rust-format-on-save t)
|
rust-format-on-save t)
|
||||||
(lsp :variables
|
(lsp :variables
|
||||||
@ -50,7 +49,6 @@ values."
|
|||||||
python
|
python
|
||||||
;; javascript
|
;; javascript
|
||||||
helm
|
helm
|
||||||
;; auto-completion
|
|
||||||
(auto-completion :variables
|
(auto-completion :variables
|
||||||
auto-completion-return-key-behavior nil
|
auto-completion-return-key-behavior nil
|
||||||
auto-completion-tab-key-behavior 'complete
|
auto-completion-tab-key-behavior 'complete
|
||||||
@ -84,7 +82,7 @@ values."
|
|||||||
;; wrapped in a layer. If you need some configuration for these
|
;; wrapped in a layer. If you need some configuration for these
|
||||||
;; packages, then consider creating a layer. You can also put the
|
;; packages, then consider creating a layer. You can also put the
|
||||||
;; configuration in `dotspacemacs/user-config'.
|
;; configuration in `dotspacemacs/user-config'.
|
||||||
dotspacemacs-additional-packages '(dockerfile-mode jenkins)
|
dotspacemacs-additional-packages '(dockerfile-mode)
|
||||||
;; A list of packages that cannot be updated.
|
;; A list of packages that cannot be updated.
|
||||||
dotspacemacs-frozen-packages '()
|
dotspacemacs-frozen-packages '()
|
||||||
;; A list of packages that will not be installed and loaded.
|
;; A list of packages that will not be installed and loaded.
|
||||||
@ -433,6 +431,11 @@ you should place your code here."
|
|||||||
|
|
||||||
;; Do not write anything past this comment. This is where Emacs will
|
;; Do not write anything past this comment. This is where Emacs will
|
||||||
;; auto-generate custom variable definitions.
|
;; auto-generate custom variable definitions.
|
||||||
|
(defun dotspacemacs/emacs-custom-settings ()
|
||||||
|
"Emacs custom settings.
|
||||||
|
This is an auto-generated function, do not modify its content directly, use
|
||||||
|
Emacs customize menu instead.
|
||||||
|
This function is called at the very end of Spacemacs initialization."
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
;; custom-set-variables was added by Custom.
|
;; custom-set-variables was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
@ -441,10 +444,11 @@ you should place your code here."
|
|||||||
'(org-agenda-files (quote ("~/Dropbox (Take-Two)/org/tasks.org")))
|
'(org-agenda-files (quote ("~/Dropbox (Take-Two)/org/tasks.org")))
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
(quote
|
(quote
|
||||||
(php-auto-yasnippets drupal-mode phpunit phpcbf php-extras php-mode sql-indent ob-sml sml-mode slack jenkins emojify circe oauth2 websocket web-mode tagedit slim-mode scss-mode sass-mode pug-mode helm-css-scss haml-mode emmet-mode company-web web-completion-data restclient-helm ob-restclient ob-http nginx-mode company-restclient restclient know-your-http-well docker tablist docker-tramp csv-mode xkcd typit mmt sudoku pacmacs 2048-game terraform-mode hcl-mode dockerfile-mode toml-mode racer cargo rust-mode company-quickhelp pos-tip ranger yaml-mode logito pcache ht helm-company helm-c-yasnippet fuzzy company-tern tern company-statistics auto-yasnippet ac-ispell auto-complete yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode dash-functional helm-pydoc cython-mode company-anaconda company anaconda-mode pythonic web-beautify livid-mode skewer-mode simple-httpd json-mode json-snatcher json-reformat js2-refactor yasnippet multiple-cursors js2-mode js-doc coffee-mode helm-dash dash-docs dash-at-point smeargle reveal-in-osx-finder pbcopy osx-trash osx-dictionary orgit org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download mmm-mode markdown-toc markdown-mode magit-gitflow magit-popup launchctl htmlize helm-gitignore gnuplot gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit magit transient git-commit with-editor ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra lv hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile projectile pkg-info epl helm-mode-manager helm-make helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist highlight evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async))))
|
(vimrc-mode helm-gtags ggtags dactyl-mode counsel-gtags counsel swiper ivy php-auto-yasnippets drupal-mode phpunit phpcbf php-extras php-mode sql-indent ob-sml sml-mode slack jenkins emojify circe oauth2 websocket web-mode tagedit slim-mode scss-mode sass-mode pug-mode helm-css-scss haml-mode emmet-mode company-web web-completion-data restclient-helm ob-restclient ob-http nginx-mode company-restclient restclient know-your-http-well docker tablist docker-tramp csv-mode xkcd typit mmt sudoku pacmacs 2048-game terraform-mode hcl-mode dockerfile-mode toml-mode racer cargo rust-mode company-quickhelp pos-tip ranger yaml-mode logito pcache ht helm-company helm-c-yasnippet fuzzy company-tern tern company-statistics auto-yasnippet ac-ispell auto-complete yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode dash-functional helm-pydoc cython-mode company-anaconda company anaconda-mode pythonic web-beautify livid-mode skewer-mode simple-httpd json-mode json-snatcher json-reformat js2-refactor yasnippet multiple-cursors js2-mode js-doc coffee-mode helm-dash dash-docs dash-at-point smeargle reveal-in-osx-finder pbcopy osx-trash osx-dictionary orgit org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download mmm-mode markdown-toc markdown-mode magit-gitflow magit-popup launchctl htmlize helm-gitignore gnuplot gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit magit transient git-commit with-editor ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint indent-guide hydra lv hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation helm-themes helm-swoop helm-projectile projectile pkg-info epl helm-mode-manager helm-make helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist highlight evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async))))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
)
|
)
|
||||||
|
)
|
||||||
|
@ -51,6 +51,7 @@ endif
|
|||||||
" colorscheme solarized
|
" colorscheme solarized
|
||||||
" set mouse=a
|
" set mouse=a
|
||||||
" endif
|
" endif
|
||||||
|
set mouse=nv
|
||||||
|
|
||||||
" change title
|
" change title
|
||||||
let &titlestring = @%
|
let &titlestring = @%
|
||||||
|
Loading…
Reference in New Issue
Block a user