Skip to content

radioactive11/Conscious

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conscious

Features

Showcase
  • Minimal Mode
Plugins
  • Bufferline
  • Cmp & Snippets
  • Packer
  • Nvim-Tree
  • Telescope

Installation

Make a backup of previous config

[ -d $HOME/.config/nvim ] && mv $HOME/.config/nvim nvim.old

Clone the repo

git clone https://github.com/Manas140/Conscious.git $HOME/.config/nvim

Install it

nvim +PackerSync

Usage

Mappings
Keybinds Info
Tab Next Buffer
Shift + Tab Previous Buffer
h + s Open a horizontal split
v + s Open a vertical split
Space + v Open a terminal in vertical split
Space + h Open a terminal in split
Space + t New tab
Space + x Close Buffer
Control + s Write file
Space + m Toggle minimal mode
Space + / Toggle comment
Space + Space Open telescope
f + f Open telescope find_files
f + b Open telescope find_buffer
Control + n Toggle Nvim tree
Control + b Focus Nvim tree
Space + h Hard Update

Configuration

Mapping

$HOME/.config/nvim/lua/mappings.lua/

Add a map which works in NORMAL mode

nmap("<leader>,", ":!echo this is a normal map")

Add a map which works in VISUAL mode

vmap("<leader>,", ":!echo this is a visual map")
Colors

$HOME/.config/nvim/lua/colors/

  • Add a file named <colorscheme>.lua

$HOME/.config/nvim/lua/colors/<colorscheme>.lua

  • Add colors according to base16 rules

Example

return {
  base00 = "#151515",
  base01 = "#1f1f1f",
  base02 = "#2e2e2e",
  base03 = "#424242",
  base04 = "#bbb6b6",
  base05 = "#e8e3e3",
  base06 = "#e8e3e3",
  base07 = "#e8e3e3",
  base08 = "#b66467",
  base09 = "#d9bc8c",
  base0A = "#d9bc8c",
  base0B = "#8c977d",
  base0C = "#8aa6a2",
  base0D = "#8da3b9",
  base0E = "#a988b0",
  base0F = "#bbb6b6",
}

$HOME/.config/nvim/init.lua

  • Specify the theme
_G.theme = "<colorscheme>"

Special Thanks

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%