I have my main vim window split into subwindows, opened on different
files with different paths.  When I do a "cd %:p:h" on one subwindow,
sometimes the other subwindow has a "pwd" that stays at the path in
which the editted file resides.  In my vimrc, I have:

   set noautochdir | setl noautochdir | setg noautochdir

I confirmed that these options are disabled using set, setl, and setg.

I also piped the results of :autocmd into a buffer and looked for
"cd", "lcd", "\<cd", "cd\>", "autochdir", and "acd".  Nothing.  I
did a :vimgrep/thePrecedingPatterns/**/* from my personal vimfiles
directory (the system vimfiles directory points to the personal
vimfiles directory since it is a user-specific installation of
cygwin).  Again, nothing.

What else can I do to permanently prevent some subwindows for defying
my will when I "cd %:p:h" in another subwindow?
----------------------------------------
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Feb 19 2014 10:14:40)
Included patches: 1-182
Compiled by <cygwin-xfree_at_cygwin.com>
Huge version with GTK2 GUI.  Features included (+) or not (-):
+acl             +cmdline_hist    +dnd             -footer          
+lispindent      -mouse_jsbterm   +perl/dyn        +scrollbind      -
tcl             +viminfo         -xterm_save
+arabic          +cmdline_info    -ebcdic          +fork()          
+listcmds        +mouse_netterm   +persistent_undo +signs           
+terminfo        +vreplace        +xpm
+autocmd         +comments        +emacs_tags      +gettext         
+localmap        +mouse_sgr       +postscript      +smartindent     
+termresponse    +wildignore      
+balloon_eval    +conceal         +eval            -hangul_input    
+lua/dyn         -mouse_sysmouse  +printer         -sniff           
+textobjects     +wildmenu        
+browse          +cryptv          +ex_extra        +iconv           
+menu            +mouse_urxvt     +profile         +startuptime     
+title           +windows         
++builtin_terms  +cscope          +extra_search    +insert_expand   
+mksession       +mouse_xterm     +python/dyn      +statusline      
+toolbar         +writebackup     
+byte_offset     +cursorbind      +farsi           +jumplist        
+modify_fname    +multi_byte      +python3/dyn     -sun_workshop    
+user_commands   +X11             
+cindent         +cursorshape     +file_in_path    +keymap          
+mouse           +multi_lang      +quickfix        +syntax          
+vertsplit       -xfontset        
+clientserver    +dialog_con_gui  +find_in_path    +langmap         
+mouseshape      -mzscheme        +reltime         +tag_binary      
+virtualedit     +xim             
+clipboard       +diff            +float           +libcall         
+mouse_dec       +netbeans_intg   +rightleft       +tag_old_static  
+visual          +xsmp_interact   
+cmdline_compl   +digraphs        +folding         +linebreak       -
mouse_gpm       +path_extra      +ruby/dyn        -tag_any_white   
+visualextra     +xterm_clipboard 
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/etc"
 f-b for $VIMRUNTIME: "/usr/share/vim/vim74"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -
D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -
I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -
I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-
2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -
I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz   -
I/usr/include/ncursesw  -ggdb -O2 -pipe -Wimplicit-function-declaration -
fdebug-prefix-map=/usr/src/ports/vim/vim-7.4.182-
1.x86_64/build=/usr/src/debug/vim-7.4.182-1 -fdebug-prefix-
map=/usr/src/ports/vim/vim-7.4.182-1.x86_64/src/vim74=/usr/src/debug/vim-
7.4.182-1 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      
Linking: gcc   -L.   -L/usr/local/lib -Wl,--as-needed -o vim.exe   -lgtk-
x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -
lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -
lXfixes -lcairo -lpixman-1 -lxcb-shm -lxcb-render -lXrender -lXext -lX11 -
lxcb -lXau -lXdmcp -lpng15 -lharfbuzz -lpango-1.0 -lm -lfontconfig -lexpat -
lfreetype -lz -lbz2 -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -
liconv -lpcre   -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -
lelf    -lncursesw -liconv -lintl   -Wl,--enable-auto-import -Wl,--export-
all-symbols -Wl,--enable-auto-image-base -fstack-protector  -
L/usr/lib/perl5/5.14/x86_64-cygwin-threads/CORE -lperl -ldl -lcrypt

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to