Compare commits
8 Commits
0c7c1908d5
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 59562cb4a9 | |||
| 1ba886e9c9 | |||
| 3c2e72a8be | |||
| 44cacf67be | |||
| fb123ea928 | |||
| 5f3a44163e | |||
| 951cdc588f | |||
| d72adda678 |
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
nvim/lazy-lock.json
|
||||||
5
REMEMBER_TO_GET_SUBMODULES
Normal file
5
REMEMBER_TO_GET_SUBMODULES
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
This repository has sub-modules! Be sure to get them with
|
||||||
|
|
||||||
|
git submodule update --init --recursive
|
||||||
|
|
||||||
|
otherwise things will break!
|
||||||
49
clang-format/clang-format
Normal file
49
clang-format/clang-format
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
BasedOnStyle: WebKit
|
||||||
|
IndentWidth: 8
|
||||||
|
---
|
||||||
|
Language: Cpp
|
||||||
|
DerivePointerAlignment: false
|
||||||
|
PointerAlignment: Right
|
||||||
|
ColumnLimit: 80
|
||||||
|
AlignAfterOpenBracket: AlwaysBreak
|
||||||
|
AlignConsecutiveAssignments: None
|
||||||
|
AlignConsecutiveBitFields: None
|
||||||
|
AlignConsecutiveDeclarations: None
|
||||||
|
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
|
||||||
|
AlignEscapedNewlines: Right
|
||||||
|
AlignOperands: AlignAfterOperator
|
||||||
|
AlignTrailingComments: true
|
||||||
|
AllowAllArgumentsOnNextLine: false
|
||||||
|
AllowAllConstructorInitializersOnNextLine: false
|
||||||
|
AllowAllParametersOfDeclarationOnNextLine: false
|
||||||
|
AllowShortBlocksOnASingleLine: Empty
|
||||||
|
AllowShortCaseLabelsOnASingleLine: false
|
||||||
|
AllowShortEnumsOnASingleLine: false
|
||||||
|
AllowShortFunctionsOnASingleLine: false
|
||||||
|
AllowShortIfStatementsOnASingleLine: false
|
||||||
|
AllowShortLambdasOnASingleLine: false
|
||||||
|
AllowShortLoopsOnASingleLine: false
|
||||||
|
AlwaysBreakAfterReturnType: None
|
||||||
|
AlwaysBreakBeforeMultilineStrings: true
|
||||||
|
AlwaysBreakTemplateDeclarations: Yes
|
||||||
|
BinPackArguments: false
|
||||||
|
BinPackParameters: false
|
||||||
|
ExperimentalAutoDetectBinPacking: false
|
||||||
|
BitFieldColonSpacing: Both
|
||||||
|
BreakBeforeBraces: Linux
|
||||||
|
BreakBeforeBinaryOperators: All
|
||||||
|
BreakBeforeTernaryOperators: true
|
||||||
|
BreakConstructorInitializers: BeforeComma
|
||||||
|
BreakInheritanceList: BeforeComma
|
||||||
|
BreakStringLiterals: true
|
||||||
|
ContinuationIndentWidth: 8
|
||||||
|
Cpp11BracedListStyle: true
|
||||||
|
IncludeBlocks: Regroup
|
||||||
|
SortIncludes: true
|
||||||
|
IndentRequires: true
|
||||||
|
NamespaceIndentation: Inner
|
||||||
|
ReflowComments: true
|
||||||
|
SpacesBeforeTrailingComments: 3
|
||||||
|
TabWidth: 8
|
||||||
|
UseTab: AlignWithSpaces
|
||||||
|
PenaltyReturnTypeOnItsOwnLine: 1000
|
||||||
@@ -5,6 +5,12 @@
|
|||||||
{ "source": "init.zsh", "dest": ".zshrc" }
|
{ "source": "init.zsh", "dest": ".zshrc" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "clang-format",
|
||||||
|
"link-files": [
|
||||||
|
{ "source": "clang-format", "dest": ".clang-format" }
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "nvim",
|
"name": "nvim",
|
||||||
"link-dirs": [
|
"link-dirs": [
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
{
|
|
||||||
"LuaSnip": { "branch": "master", "commit": "3732756842a2f7e0e76a7b0487e9692072857277" },
|
|
||||||
"auto-dark-mode.nvim": { "branch": "master", "commit": "e300259ec777a40b4b9e3c8e6ade203e78d15881" },
|
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
|
|
||||||
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "fd3e882e56956675c620898bf1ffcf4fcbe7ec84" },
|
|
||||||
"cmp-vsnip": { "branch": "main", "commit": "989a8a73c44e926199bfd05fa7a516d51f2d2752" },
|
|
||||||
"dashboard-nvim": { "branch": "master", "commit": "0775e567b6c0be96d01a61795f7b64c1758262f6" },
|
|
||||||
"hop.nvim": { "branch": "master", "commit": "1a1eceafe54b5081eae4cb91c723abd1d450f34b" },
|
|
||||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
|
||||||
"llvm.vim": { "branch": "master", "commit": "0c5a25b1d79c939955e3fa52b086d0318b891b2b" },
|
|
||||||
"lspkind.nvim": { "branch": "master", "commit": "3ddd1b4edefa425fda5a9f95a4f25578727c0bb3" },
|
|
||||||
"lua-utils.nvim": { "branch": "main", "commit": "e565749421f4bbb5d2e85e37c3cef9d56553d8bd" },
|
|
||||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
|
||||||
"neorg": { "branch": "main", "commit": "408fc04013a95da8f217cb0958a06b6a77c01743" },
|
|
||||||
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
|
||||||
"nvim": { "branch": "main", "commit": "beaf41a30c26fd7d6c386d383155cbd65dd554cd" },
|
|
||||||
"nvim-cmp": { "branch": "main", "commit": "85bbfad83f804f11688d1ab9486b459e699292d6" },
|
|
||||||
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "803353450c374192393f5387b6a0176d0972b848" },
|
|
||||||
"pathlib.nvim": { "branch": "main", "commit": "57e5598af6fe253761c1b48e0b59b7cd6699e2c1" },
|
|
||||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
|
||||||
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
|
|
||||||
"telescope-ag": { "branch": "main", "commit": "7d25064da3c7689461bcfa89ad1f08548415193d" },
|
|
||||||
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
|
||||||
"tmuxline.vim": { "branch": "master", "commit": "4119c553923212cc67f4e135e6f946dc3ec0a4d6" },
|
|
||||||
"toggleterm.nvim": { "branch": "main", "commit": "9a88eae817ef395952e08650b3283726786fb5fb" },
|
|
||||||
"vim-asciidoctor": { "branch": "master", "commit": "d45364d662489e0ffcad0e2bc6f41c859ba58799" },
|
|
||||||
"vim-pug": { "branch": "master", "commit": "ea39cd942cf3194230cf72bfb838901a5344d3b3" },
|
|
||||||
"vim-vsnip": { "branch": "master", "commit": "9bcfabea653abdcdac584283b5097c3f8760abaa" }
|
|
||||||
}
|
|
||||||
@@ -8,7 +8,6 @@ return {
|
|||||||
theme = 'ivy',
|
theme = 'ivy',
|
||||||
patterns = {
|
patterns = {
|
||||||
'>projects',
|
'>projects',
|
||||||
'.git',
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ return {
|
|||||||
'akinsho/toggleterm.nvim',
|
'akinsho/toggleterm.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
require('toggleterm').setup{
|
require('toggleterm').setup{
|
||||||
direction = 'float',
|
direction = 'horizontal',
|
||||||
float_opts = {
|
float_opts = {
|
||||||
border = 'single',
|
border = 'single',
|
||||||
width = 80,
|
width = 80,
|
||||||
|
|||||||
@@ -2,13 +2,9 @@ return {
|
|||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
build = ':TSUpdate',
|
build = ':TSUpdate',
|
||||||
config = function()
|
config = function()
|
||||||
local configs = require('nvim-treesitter.configs')
|
vim.api.nvim_create_autocmd('FileType', {
|
||||||
|
pattern = { 'c' },
|
||||||
configs.setup {
|
callback = function() vim.treesitter.start() end,
|
||||||
ensure_installed = { 'c', 'cpp', 'lua', 'vimdoc', 'luadoc', 'vim', 'markdown' },
|
})
|
||||||
sync_install = false,
|
|
||||||
highlight = { enable = true },
|
|
||||||
indent = { enable = false }
|
|
||||||
}
|
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ alias ll="ls -alG"
|
|||||||
|
|
||||||
alias vim=nvim
|
alias vim=nvim
|
||||||
alias nj=ninja
|
alias nj=ninja
|
||||||
|
alias ls="ls --color=auto"
|
||||||
|
|
||||||
alias ...="cd ../.."
|
alias ...="cd ../.."
|
||||||
alias ....="cd ../../.."
|
alias ....="cd ../../.."
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
zshrc=~/.zshrc
|
zshrc=~/.zshrc
|
||||||
|
zshenv=~/.zshenv
|
||||||
if [ -z $zshrc ]; then
|
if [ -z $zshrc ]; then
|
||||||
echo "Err: Cannot find dotfile directory."
|
echo "Err: Cannot find dotfile directory."
|
||||||
exit -1
|
exit -1
|
||||||
@@ -48,3 +49,10 @@ source $zsh_dir/commands.zsh
|
|||||||
# KEYBIND initialisation
|
# KEYBIND initialisation
|
||||||
|
|
||||||
source $zsh_dir/keybind.zsh
|
source $zsh_dir/keybind.zsh
|
||||||
|
|
||||||
|
|
||||||
|
# SYSTEM-SPECIFIC initialisation
|
||||||
|
|
||||||
|
if [ -z $zshenv ]; then
|
||||||
|
source $zshenv
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user