Skip to content

Commit

Permalink
removed unnecessary plugins && tmuxinator confs added
Browse files Browse the repository at this point in the history
  • Loading branch information
mthnglac committed Dec 5, 2020
1 parent e49b4b7 commit 45ce9fa
Show file tree
Hide file tree
Showing 5 changed files with 173 additions and 29 deletions.
13 changes: 1 addition & 12 deletions .config/coc/extensions/package.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,17 @@
{
"dependencies": {
"coc-clangd": ">=0.6.0",
"coc-css": ">=1.2.6",
"coc-ember": ">=1.4.7",
"coc-eslint": ">=1.3.2",
"coc-flutter-tools": ">=1.3.1",
"coc-go": ">=0.12.1",
"coc-highlight": ">=1.2.6",
"coc-html": ">=1.3.1",
"coc-java": ">=1.5.3",
"coc-java-debug": ">=0.1.5",
"coc-jest": ">=1.1.3",
"coc-json": ">=1.3.2",
"coc-marketplace": ">=1.8.0",
"coc-prettier": ">=1.1.20",
"coc-python": ">=1.2.13",
"coc-snippets": ">=2.2.9",
"coc-solargraph": ">=1.1.8",
"coc-sql": ">=0.4.0",
"coc-tsserver": ">=1.6.1",
"coc-vetur": ">=1.2.3",
"coc-vimlsp": ">=0.11.0",
"coc-xml": ">=1.14.0",
"coc-yaml": ">=1.1.3",
"coc-yank": ">=1.1.11"
"coc-xml": ">=1.14.0"
}
}
13 changes: 1 addition & 12 deletions .config/nvim/coc-settings.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
{
"coc.preferences.bracketEnterImprove": true,
"http.proxyStrictSSL": false,
"python.jediEnabled": false,
"tsserver.maxTsServerMemory": 8192,
"tsserver.disableAutomaticTypeAcquisition": false,
"eslint.enable": false,
"eslint.autoFixOnSave": true,
"eslint.packageManager": "yarn",
"go.goplsOptions": {
"usePlaceholders": true,
"completionDocumentation": true,
"completeUnimported": true,
"matcher": "Fuzzy"
},
"jest.watchman": true
"tsserver.disableAutomaticTypeAcquisition": false
}
9 changes: 4 additions & 5 deletions .config/nvim/settings.plugins.vim
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,9 @@ let g:bujo#window_width = get(g:, "bujo#window_width", 70)
nnoremap <leader>vwm :call ColorMyPencils()<CR>
" ctrl-c
inoremap <C-c> <esc>
" CoC-prettier
command! -nargs=0 Prettier :CocCommand prettier.formatFile
vmap <leader>py <Plug>(coc-format-selected)
nmap <leader>py <Plug>(coc-format-selected)
" Prettier confs
let g:prettier#config#single_quote = 'true'
let g:prettier#config#trailing_comma = 'all'
" GoTo code navigation.
nmap <leader>gd <Plug>(coc-definition)
nmap <leader>gy <Plug>(coc-type-definition)
Expand Down Expand Up @@ -301,7 +300,7 @@ com! W w
" highlight on yank!!! -------------------------------------------------------
augroup highlight_yank
autocmd!
autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank({timeout = 40})
autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank({timeout = 400})
augroup END


Expand Down
78 changes: 78 additions & 0 deletions .config/tmuxinator/parasut-ws-editor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# /home/saruman/.config/tmuxinator/parasut-ws-editor.yml

name: parasut-ws-editor
#root: ~/

# Optional tmux socket
# socket_name: foo

# Note that the pre and post options have been deprecated and will be replaced by
# project hooks.

# Project hooks

# Runs on project start, always
# on_project_start: command

# Run on project start, the first time
# on_project_first_start: command

# Run on project start, after the first time
# on_project_restart: command

# Run on project exit ( detaching from tmux session )
# on_project_exit: command

# Run on project stop
# on_project_stop: command

# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247

# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf

# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu

# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor

# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1

# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false

windows:
- phoenix:
root: ~/Code/development/parasutcom/phoenix/
panes:
- nvim:
- nvim README.md
- shared-logic:
root: ~/Code/development/parasutcom/shared-logic/
panes:
- nvim:
- nvim README.md
<%- if @args.include? 'ui-library' %>
- ui-library:
root: ~/Code/development/parasutcom/ui-library/
panes:
- nvim:
- nvim README.md
<%- end %>
<%- if @args.include? 'client' %>
- client:
root: ~/Code/development/parasutcom/client/
panes:
- nvim:
- nvim README.md
<%- end %>
<%- if @args.include? 'trinity' %>
- trinity:
root: ~/Code/development/parasutcom/trinity/
panes:
- nvim:
- nvim README.md
<%- end %>
89 changes: 89 additions & 0 deletions .config/tmuxinator/parasut-ws-setup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# /home/saruman/.config/tmuxinator/parasut-ws-setup.yml

name: parasut-ws-setup
#root: ~/Code/development/parasutcom/

# Optional tmux socket
# socket_name: foo

# Note that the pre and post options have been deprecated and will be replaced by
# project hooks.

# Project hooks

# Runs on project start, always
# on_project_start: command

# Run on project start, the first time
# on_project_first_start: command

# Run on project start, after the first time
# on_project_restart: command

# Run on project exit ( detaching from tmux session )
# on_project_exit: command

# Run on project stop
# on_project_stop: command

# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247

# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf

# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu

# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor

# Specifies (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1

# Controls whether the tmux session should be attached to automatically. Defaults to true.
attach: false

windows:
- server:
root: ~/Code/development/parasutcom/server/
layout: tiled
panes:
- sidekiq:
- parasut-server-sidekiq
- rails:
- parasut-server
- billing:
root: ~/Code/development/parasutcom/billing/
layout: tiled
panes:
- sidekiq:
- parasut-billing-sidekiq
- rails:
- parasut-billing
- phoenix:
root: ~/Code/development/parasutcom/phoenix/
panes:
- ember:
- parasut-phoenix
<%- if @args.include? 'ui-library' %>
- ui-library:
root: ~/Code/development/parasutcom/ui-library/
panes:
- ember:
- parasut-ui-library
<%- end %>
<%- if @args.include? 'client' %>
- client:
root: ~/Code/development/parasutcom/client/
panes:
- ember:
- parasut-client
<%- end %>
<%- if @args.include? 'trinity' %>
- trinity:
root: ~/Code/development/parasutcom/trinity/
panes:
- ember:
- parasut-trinity
<%- end %>

0 comments on commit 45ce9fa

Please sign in to comment.