Skip to content

Instantly share code, notes, and snippets.

@Cipher7
Last active October 3, 2021 08:58

Revisions

  1. Cipher7 revised this gist Oct 3, 2021. 1 changed file with 11 additions and 1 deletion.
    12 changes: 11 additions & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,16 @@
    "Author: Cipher007
    "Author : Cipher007
    "Date : 16-05-2021

    "
    " _____ _ _ ___ ___ ______
    " / ____(_) | | / _ \ / _ \____ |
    "| | _ _ __ | |__ ___ _ __| | | | | | | / /
    "| | | | '_ \| '_ \ / _ \ '__| | | | | | | / /
    "| |____| | |_) | | | | __/ | | |_| | |_| |/ /
    " \_____|_| .__/|_| |_|\___|_| \___/ \___//_/
    " | |
    " |_|

    hi Normal ctermbg=NONE guibg=NONE

    "wildmenu gives an autocomplete menu for a word
  2. Cipher7 revised this gist Oct 2, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion .vimrc
    Original file line number Diff line number Diff line change
    @@ -36,5 +36,6 @@ call plug#begin('~/.vim/plugged')
    Plug 'vim-airline/vim-airline'
    Plug 'vim-airline/vim-airline-themes'
    Plug 'dracula/vim',{'as': 'dracula'}
    Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }

    call plug#end()
    call plug#end()
  3. Cipher7 revised this gist May 18, 2021. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,4 @@
    "Author: Cipher007
    "Mentor: p4p1
    "Date : 16-05-2021

    hi Normal ctermbg=NONE guibg=NONE
    @@ -9,6 +8,9 @@ set wildmenu

    set relativenumber

    set listchars=eol:¬,tab:>·,trail:~,extends:>,precedes:<
    set encoding=UTF-8
    set list
    "nocompatible is to ward of unexpected things the distro can make to a vim
    "file and also to reset options while resourcing
    set nocompatible
    @@ -35,4 +37,4 @@ Plug 'vim-airline/vim-airline'
    Plug 'vim-airline/vim-airline-themes'
    Plug 'dracula/vim',{'as': 'dracula'}

    call plug#end()
    call plug#end()
  4. Cipher7 revised this gist May 16, 2021. 1 changed file with 18 additions and 0 deletions.
    18 changes: 18 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,28 @@
    "Author: Cipher007
    "Mentor: p4p1
    "Date : 16-05-2021

    hi Normal ctermbg=NONE guibg=NONE

    "wildmenu gives an autocomplete menu for a word
    set wildmenu

    set relativenumber

    "nocompatible is to ward of unexpected things the distro can make to a vim
    "file and also to reset options while resourcing
    set nocompatible

    "Try to determine the type of file based on it's name and syntax and do
    "intelligent autoindent and syntax highlighting
    if has ('filetype')
    filetype indent plugin on
    endif

    if has ('syntax')
    syntax on
    endif

    autocmd InsertEnter * :set nornu nolist nu
    autocmd InsertLeave * :set relativenumber list

  5. Cipher7 revised this gist May 15, 2021. No changes.
  6. Cipher7 revised this gist May 15, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    #Author: Cipher007
    #Date : 16-05-2021
    "Author: Cipher007
    "Date : 16-05-2021

    hi Normal ctermbg=NONE guibg=NONE
    set wildmenu
  7. Cipher7 created this gist May 15, 2021.
    20 changes: 20 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    #Author: Cipher007
    #Date : 16-05-2021

    hi Normal ctermbg=NONE guibg=NONE
    set wildmenu
    set relativenumber

    autocmd InsertEnter * :set nornu nolist nu
    autocmd InsertLeave * :set relativenumber list

    let g:airline_theme = "dracula"
    let g:airline_powerline_fonts = 1

    call plug#begin('~/.vim/plugged')

    Plug 'vim-airline/vim-airline'
    Plug 'vim-airline/vim-airline-themes'
    Plug 'dracula/vim',{'as': 'dracula'}

    call plug#end()