когато стартирам вим ми изписва това:
това се появи когато си вкарах следния код във vimrc файла
някой ако има някъкви съвети за това как да модифицирам файла ще съм благодарен да ги сподели. Намерих този файл в нета и го помодифицирах съвсем малко, тъй като ми трябва за писане на python и пишеше че тези настройки са оптимизирани за него.
Код:
Error detected while processing BufWinEnter Auto commands for "*":
E32: No file name
Press ENTER or type command to continue
E32: No file name
Press ENTER or type command to continue
това се появи когато си вкарах следния код във vimrc файла
Код:
" enter spaces when tab is pressed:
set expandtab
" do not break lines when line lenght increases
set textwidth=0
" user 4 spaces to represent a tab
set tabstop=4
set softtabstop=4
" number of space to use for auto indent
" you can use >> or << keys to indent current line or selection
" in normal mode.
set shiftwidth=4
" Copy indent from current line when starting a new line.
set autoindent
" makes backspace key more powerful.
set backspace=indent,eol,start
" shows the match while typing
set incsearch
" case insensitive search
set ignorecase
" show line and column number
set ruler
" show some autocomplete options in status bar
set wildmenu
" automatically save and restore folds
au BufWinLeave * mkview
au BufWinEnter * silent loadview
" this lets us put the marker in the file so that
" it can be shared across and stored in version control.
set foldmethod=marker
" this is for python, put
" # name for the folded text # {{{
" to begin marker and
" # }}}
" close to end it.
set commentstring=\ #\ %s
" default fold level, all open, set it 200 or something
" to make it all closed.
set foldlevel=0
" share clipboard with windows clipboard
set clipboard+=unnamed
" set viminfo='100,f1
" minibufexplorer settings:j
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchWindows =1
syntax on
set syntax=python
set expandtab
" do not break lines when line lenght increases
set textwidth=0
" user 4 spaces to represent a tab
set tabstop=4
set softtabstop=4
" number of space to use for auto indent
" you can use >> or << keys to indent current line or selection
" in normal mode.
set shiftwidth=4
" Copy indent from current line when starting a new line.
set autoindent
" makes backspace key more powerful.
set backspace=indent,eol,start
" shows the match while typing
set incsearch
" case insensitive search
set ignorecase
" show line and column number
set ruler
" show some autocomplete options in status bar
set wildmenu
" automatically save and restore folds
au BufWinLeave * mkview
au BufWinEnter * silent loadview
" this lets us put the marker in the file so that
" it can be shared across and stored in version control.
set foldmethod=marker
" this is for python, put
" # name for the folded text # {{{
" to begin marker and
" # }}}
" close to end it.
set commentstring=\ #\ %s
" default fold level, all open, set it 200 or something
" to make it all closed.
set foldlevel=0
" share clipboard with windows clipboard
set clipboard+=unnamed
" set viminfo='100,f1
" minibufexplorer settings:j
let g:miniBufExplMapWindowNavArrows = 1
let g:miniBufExplMapCTabSwitchWindows =1
syntax on
set syntax=python
някой ако има някъкви съвети за това как да модифицирам файла ще съм благодарен да ги сподели. Намерих този файл в нета и го помодифицирах съвсем малко, тъй като ми трябва за писане на python и пишеше че тези настройки са оптимизирани за него.